220 29435 <CAEddoJZf-Y9D90ZePLoMv_HcFeCJz+FC25WRVdWZjbsrrS4FEQ@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: =?UTF-8?Q?Jonathan_M=C3=BCller?= <jonathanmueller.dev@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Allowing string literals to match `char...` packs
 in templates
Date: Thu, 17 Nov 2016 09:13:46 +0100
Lines: 44
Approved: news@gmane.org
Message-ID: <CAEddoJZf-Y9D90ZePLoMv_HcFeCJz+FC25WRVdWZjbsrrS4FEQ@mail.gmail.com>
References: <9de07b5f-f870-4a02-882f-54f9fdd12ffd@isocpp.org>
 <CANh8DEm_8ngPVZyMAP4GU8nbvgiD2XxBrLT0M1Pk94m8+tQrug@mail.gmail.com>
 <d9433fac-152f-4515-b518-985a78768c03@isocpp.org> <6b73bf50-4189-4d5d-a2c0-2debb085659e@isocpp.org>
 <f99786d0-d4fd-40ee-89fe-89399fe8d600@isocpp.org> <10914b55-c188-4573-a4c7-ba686f213a38@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=94eb2c08adaad207d305417ac4a5
X-Trace: blaine.gmane.org 1479370435 24829 195.159.176.226 (17 Nov 2016 08:13:55 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Thu, 17 Nov 2016 08:13:55 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCUMHC4Z6QGBBO6NWXAQKGQEF6UEYHQ@isocpp.org Thu Nov 17 09:13:47 2016
Return-path: <std-proposals+bncBCUMHC4Z6QGBBO6NWXAQKGQEF6UEYHQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pg0-f70.google.com ([74.125.83.70])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCUMHC4Z6QGBBO6NWXAQKGQEF6UEYHQ@isocpp.org>)
	id 1c7HpJ-0004yh-HD
	for gclcip-std-proposals@m.gmane.org; Thu, 17 Nov 2016 09:13:45 +0100
Original-Received: by mail-pg0-f70.google.com with SMTP id x23sf190204880pgx.6
        for <gclcip-std-proposals@m.gmane.org>; Thu, 17 Nov 2016 00:13:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :x-original-sender:x-original-authentication-results:reply-to
         :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post
         :list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=R7ic2tmf/7MSVFOIpwzmyjf0jX+uJ4ELhGS4lV5yRdw=;
        b=0CRoM/S6+PJis9UmVPkHU29gGIt5YnFc2bWjTDBl4+jyJIbAOLQNFXjyFedlCI3Syv
         fJWOsErL0u+MOI+D37sg9Zd3rd3tox+F8GqKjyoLwFhCeksk3SfG8kpWbK5GNHbwQFBo
         /vJU7R16FaTbAv1oRLQlWpAqn6hKBUpOu+O8F8U+wqWyeqicdvsbj4TP90mM23GED+4p
         fcZBSTKkTysJQjt1k0pztX5eZkX+FYqQYDuWW6Xr9O4ZTacneuoiGH9prOcRk8iUxnMD
         8ysakC4wq7iv2hTLQ+yoR0TRWdw1gWmqy/bLzBNMOU73C4Dqq25X9d7L1Y4uRz447xKS
         vKAg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references:from:date
         :message-id:subject:to:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=R7ic2tmf/7MSVFOIpwzmyjf0jX+uJ4ELhGS4lV5yRdw=;
        b=F4G/c0J5Jfk06CifsqjFYPPgguv4ZXzmHH6mzq+MpmA1bo4aqIy/21/0245yE8Vz42
         rjpGbi32l768jXw2MlHhCq7MnhMPf3JYk39240ZWjYVmAB2X7b2UqHwxoHeKrJzkLqUU
         PmIctFZ7gHHlXgYqNgFTFALLP0gwXtroLXhNzB9NKUiGABY35sz94hQJz4wNdTk2cMr0
         K4qqLG4Hs4NzVMIG+LNeNIopqSpBLJMlbcb0J9j5U2THqQe8y+XVlVzxzk8AnBStaYM5
         2g7760P5t+g7rkY/t9lpWcLfie7KyqiqAGoyB1TCm0n3X6s/RE7qdnKCKGdDejI7uok1
         m6IQ==
X-Gm-Message-State: ABUngvePcHbNjVnUqysgIdsRJnc63sqCRCiNxlaUK0l56m1SMdjGH78PBxdi8POrUOlp8Q==
X-Received: by 10.99.60.84 with SMTP id i20mr607000pgn.172.1479370428563;
        Thu, 17 Nov 2016 00:13:48 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.24.9 with SMTP id b9ls3604633ote.15.gmail; Thu, 17 Nov
 2016 00:13:47 -0800 (PST)
X-Received: by 10.55.189.135 with SMTP id n129mr1723382qkf.150.1479370427777;
        Thu, 17 Nov 2016 00:13:47 -0800 (PST)
Original-Received: from mail-qk0-x22d.google.com (mail-qk0-x22d.google.com. [2607:f8b0:400d:c09::22d])
        by mx.google.com with ESMTPS id z201si1314574qkz.126.2016.11.17.00.13.47
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Thu, 17 Nov 2016 00:13:47 -0800 (PST)
Received-SPF: pass (google.com: domain of jonathanmueller.dev@gmail.com designates 2607:f8b0:400d:c09::22d as permitted sender) client-ip=2607:f8b0:400d:c09::22d;
Original-Received: by mail-qk0-x22d.google.com with SMTP id q130so208506341qke.1
        for <std-proposals@isocpp.org>; Thu, 17 Nov 2016 00:13:47 -0800 (PST)
X-Received: by 10.55.150.193 with SMTP id y184mr2027977qkd.296.1479370427463;
 Thu, 17 Nov 2016 00:13:47 -0800 (PST)
Original-Received: by 10.55.53.84 with HTTP; Thu, 17 Nov 2016 00:13:46 -0800 (PST)
Original-Received: by 10.55.53.84 with HTTP; Thu, 17 Nov 2016 00:13:46 -0800 (PST)
In-Reply-To: <10914b55-c188-4573-a4c7-ba686f213a38@isocpp.org>
X-Original-Sender: jonathanmueller.dev@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com;       spf=pass (google.com: domain of
 jonathanmueller.dev@gmail.com designates 2607:f8b0:400d:c09::22d as permitted
 sender) smtp.mailfrom=jonathanmueller.dev@gmail.com;       dmarc=pass (p=NONE
 dis=NONE) header.from=gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:29435
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/29435>

--94eb2c08adaad207d305417ac4a5
Content-Type: text/plain; charset=UTF-8

Sorry if I'm asking the obvious question here: Why not guarantee that
different string literals have different addresses and the same string
literal has the same address and use const char* as non-type template
parameters?

Jonathan

-- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAEddoJZf-Y9D90ZePLoMv_HcFeCJz%2BFC25WRVdWZjbsrrS4FEQ%40mail.gmail.com.

--94eb2c08adaad207d305417ac4a5
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">Sorry if I&#39;m asking the obvious question here: Why not g=
uarantee that different string literals have different addresses and the sa=
me string literal has the same address and use const char* as non-type temp=
late parameters?</p>
<p dir=3D"ltr">Jonathan</p>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/CAEddoJZf-Y9D90ZePLoMv_HcFeCJz%2BFC25=
WRVdWZjbsrrS4FEQ%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">h=
ttps://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAEddoJZf-Y9D90=
ZePLoMv_HcFeCJz%2BFC25WRVdWZjbsrrS4FEQ%40mail.gmail.com</a>.<br />

--94eb2c08adaad207d305417ac4a5--

.
