220 12478 <040716B3-CF41-46C7-AA1C-CB49818FA5EF@gmail.com> article
Path: news.gmane.org!not-for-mail
From: David Krauss <potswa@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Placeholder literals
Date: Mon, 25 Aug 2014 12:50:18 +0800
Lines: 72
Approved: news@gmane.org
Message-ID: <040716B3-CF41-46C7-AA1C-CB49818FA5EF@gmail.com>
References: <570663A9-F617-442F-9B48-5B6E7311AE72@gmail.com> <CAOfiQqkd5FeVLM879bHNZwSmdWNyV3Ag9xiOBF0wU=5Ri4iE=A@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
Content-Type: multipart/alternative; boundary="Apple-Mail=_429400B8-08BB-454E-8319-63B8D14CF017"
X-Trace: ger.gmane.org 1408942242 20006 80.91.229.3 (25 Aug 2014 04:50:42 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 25 Aug 2014 04:50:42 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCW25A7E3QCRBGEB5OPQKGQE2EJJ43A@isocpp.org Mon Aug 25 06:50:35 2014
Return-path: <std-proposals+bncBCW25A7E3QCRBGEB5OPQKGQE2EJJ43A@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pa0-f70.google.com ([209.85.220.70])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCW25A7E3QCRBGEB5OPQKGQE2EJJ43A@isocpp.org>)
	id 1XLmEk-0002wZ-6L
	for gclcip-std-proposals@m.gmane.org; Mon, 25 Aug 2014 06:50:34 +0200
Original-Received: by mail-pa0-f70.google.com with SMTP id lf10sf113525995pab.1
        for <gclcip-std-proposals@m.gmane.org>; Sun, 24 Aug 2014 21:50:33 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:message-id:mime-version:subject:date
         :references:to:in-reply-to:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe:content-type;
        bh=qvwz0kYPgLR4OKDLG71i3sgzmVIduvrakJXosoHjB+A=;
        b=jn3BrTLnplocXLRIgd1afCPnXhLyn5N31iQsyihiXuN6SpedsDBjfV57/HwnWJKSdR
         wMmzxH6fCPEfe2YIncetDUZcs/zzhjbvC09m+F8QSymZzTNrdhmvMxjBUAzFKvgCXlqJ
         hjGFS9T9B+oJyImXLVduLRtEc9sSCygN9Iv+OS8LSyQiyoF04VE9dbdyDyRDtNcPNtJN
         /p15AzfJw6haXoF6K+qWmcByc7Oi7uhKhjjm7akD4SW552rHr433iJqLMISkdUf8Fn7q
         5N5sXGIG9AKMU9gP2qP+990rcG9boLLoPNWRUBbVtKEO6jVK9Pe9uze8xCTdH4jV5np1
         tFAw==
X-Gm-Message-State: ALoCoQlFFIlMZ0Q7T3+sSBDfMmfamypJ9YVJJGWD1vCrqjXsAH6ZS13J2srYIoYTkTE5j1srnAxJ
X-Received: by 10.66.144.102 with SMTP id sl6mr12991947pab.17.1408942233113;
        Sun, 24 Aug 2014 21:50:33 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.50.61.148 with SMTP id p20ls1023515igr.38.canary; Sun, 24 Aug
 2014 21:50:32 -0700 (PDT)
X-Received: by 10.70.38.161 with SMTP id h1mr25119521pdk.105.1408942232380;
        Sun, 24 Aug 2014 21:50:32 -0700 (PDT)
Original-Received: from mail-pa0-x22d.google.com (mail-pa0-x22d.google.com [2607:f8b0:400e:c03::22d])
        by mx.google.com with ESMTPS id rw4si9867560pab.168.2014.08.24.21.50.32
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sun, 24 Aug 2014 21:50:32 -0700 (PDT)
Received-SPF: pass (google.com: domain of potswa@gmail.com designates 2607:f8b0:400e:c03::22d as permitted sender) client-ip=2607:f8b0:400e:c03::22d;
Original-Received: by mail-pa0-f45.google.com with SMTP id eu11so20146322pac.18
        for <std-proposals@isocpp.org>; Sun, 24 Aug 2014 21:50:32 -0700 (PDT)
X-Received: by 10.70.63.37 with SMTP id d5mr23913855pds.51.1408942232196;
        Sun, 24 Aug 2014 21:50:32 -0700 (PDT)
Original-Received: from [172.20.10.2] ([121.54.54.129])
        by mx.google.com with ESMTPSA id u2sm36026154pbs.42.2014.08.24.21.50.30
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sun, 24 Aug 2014 21:50:31 -0700 (PDT)
In-Reply-To: <CAOfiQqkd5FeVLM879bHNZwSmdWNyV3Ag9xiOBF0wU=5Ri4iE=A@mail.gmail.com>
X-Mailer: Apple Mail (2.1878.6)
X-Original-Sender: potswa@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of potswa@gmail.com designates 2607:f8b0:400e:c03::22d as permitted
 sender) smtp.mail=potswa@gmail.com;       dkim=pass header.i=@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: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://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>,
 <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:12478
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/12478>

--Apple-Mail=_429400B8-08BB-454E-8319-63B8D14CF017
Content-Type: text/plain; charset=ISO-8859-1


On 2014-08-25, at 12:45 PM, Richard Smith <richard@metafoo.co.uk> wrote:

> On Sat, Aug 23, 2014 at 6:21 PM, David Krauss <potswa@gmail.com> wrote:
> Why not add literal operator templates returning placeholders?
> 
> Why not deprecate std::bind? Generic lambdas provide a better solution, and we don't benefit from having two ways to do the same thing.

Can't say I have a counterargument to that.

The last time I used bind was a while ago, to work around a GCC bug with non-generic lambdas in pack expansions. Currently my project doesn't build in GCC; it segfaults and reports an ICE pointing at a generic lambda. So, that's the use case I know :P .

The suggestion was only inspired by seeing a std::placeholder in a StackOverflow question, but the user was misguided and didn't need it.

-- 

--- 
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.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

--Apple-Mail=_429400B8-08BB-454E-8319-63B8D14CF017
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=ISO-8859-1

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html charset=
=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-=
mode: space; -webkit-line-break: after-white-space;"><br><div><div>On 2014&=
ndash;08&ndash;25, at 12:45 PM, Richard Smith &lt;<a href=3D"mailto:richard=
@metafoo.co.uk">richard@metafoo.co.uk</a>&gt; wrote:</div><br class=3D"Appl=
e-interchange-newline"><blockquote type=3D"cite"><div dir=3D"ltr"><div clas=
s=3D"gmail_extra"><div class=3D"gmail_quote">On Sat, Aug 23, 2014 at 6:21 P=
M, David Krauss <span dir=3D"ltr">&lt;<a href=3D"mailto:potswa@gmail.com" t=
arget=3D"_blank">potswa@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div style=3D"word-wrap:break-word">Why not =
add literal operator templates returning placeholders?</div></blockquote><d=
iv>
<br></div><div>Why not deprecate std::bind? Generic lambdas provide a bette=
r solution, and we don't benefit from having two ways to do the same thing.=
</div></div></div></div></blockquote><br></div><div>Can&rsquo;t say I have =
a counterargument to that.</div><br><div>The last time I used <font face=3D=
"Courier">bind</font> was a while ago, to work around a GCC bug with non-ge=
neric lambdas in pack expansions. Currently my project doesn&rsquo;t build =
in GCC; it segfaults and reports an ICE pointing at a generic lambda. So, t=
hat&rsquo;s the use case I know :P .</div><div><br></div><div>The suggestio=
n was only inspired by seeing a <font face=3D"Courier">std::placeholder</fo=
nt> in a StackOverflow question, but the user was misguided and didn&rsquo;=
t need it.</div><div><br></div></body></html>

<p></p>

-- <br />
<br />
--- <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 />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

--Apple-Mail=_429400B8-08BB-454E-8319-63B8D14CF017--

.
