220 12477 <CAOfiQqkd5FeVLM879bHNZwSmdWNyV3Ag9xiOBF0wU=5Ri4iE=A@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Richard Smith <richard@metafoo.co.uk>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Placeholder literals
Date: Sun, 24 Aug 2014 21:45:00 -0700
Lines: 108
Approved: news@gmane.org
Message-ID: <CAOfiQqkd5FeVLM879bHNZwSmdWNyV3Ag9xiOBF0wU=5Ri4iE=A@mail.gmail.com>
References: <570663A9-F617-442F-9B48-5B6E7311AE72@gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=001a11c2d0567f02a205016cd943
X-Trace: ger.gmane.org 1408941910 16946 80.91.229.3 (25 Aug 2014 04:45:10 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 25 Aug 2014 04:45:10 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDVNBJG4YAIBBTH65KPQKGQEBOT4SNY@isocpp.org Mon Aug 25 06:45:03 2014
Return-path: <std-proposals+bncBDVNBJG4YAIBBTH65KPQKGQEBOT4SNY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yk0-f199.google.com ([209.85.160.199])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDVNBJG4YAIBBTH65KPQKGQEBOT4SNY@isocpp.org>)
	id 1XLm9O-0000zG-Bw
	for gclcip-std-proposals@m.gmane.org; Mon, 25 Aug 2014 06:45:02 +0200
Original-Received: by mail-yk0-f199.google.com with SMTP id 79sf43541231ykr.6
        for <gclcip-std-proposals@m.gmane.org>; Sun, 24 Aug 2014 21:45:01 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:sender:in-reply-to:references:date
         :message-id:subject:from: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=i1aDARaLrUT8s+9wkJs0cOPZEpDKdl1hBs7GfeOQuH0=;
        b=U6J7aubXxnWxCVYqP+pZ0ylgiZ/P8RHupJ1zaF4INiWEr5w77mS0jbn5N6ltg+/iAx
         pCjgSXBq2BwQ2OKqV1BrfdfOSFYjU6ek/cpQh6xi2NlyA/0IwwF9SSPzML7lxlXhchfC
         ot3qt/YBegBH8ulFPajpF2AGtyjCasykIqcq59m5Y3LS9Zq+gjBw/CY7ToHWS9k6+6ew
         XCS6/2vy12KTLa8sEXvabZxHpHMK3nj25odK7jv89M3eYJXcfVCLpYezlwPqytEv+Ypn
         hzCrc8AzSR0dD3U0G+ebHAqRuO5WiEIz6XXNDjhQyEkJ6LTrk17/i2YPosWpSe8n//iS
         fLBA==
X-Gm-Message-State: ALoCoQlIDfySIRrYftpIv1H7x6Xrkr6tRiUrOJIcxyXbG+RX0b0BwpVHx5dSp5a0xS98bpvM1CgJ
X-Received: by 10.236.207.164 with SMTP id n24mr59574yho.5.1408941901332;
        Sun, 24 Aug 2014 21:45:01 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.105.247 with SMTP id c110ls1383499qgf.5.gmail; Sun, 24 Aug
 2014 21:45:00 -0700 (PDT)
X-Received: by 10.221.24.135 with SMTP id re7mr3508682vcb.53.1408941900734;
        Sun, 24 Aug 2014 21:45:00 -0700 (PDT)
Original-Received: from mail-vc0-x234.google.com (mail-vc0-x234.google.com [2607:f8b0:400c:c03::234])
        by mx.google.com with ESMTPS id ga4si16923093vdc.38.2014.08.24.21.45.00
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sun, 24 Aug 2014 21:45:00 -0700 (PDT)
Received-SPF: pass (google.com: domain of metafoo@gmail.com designates 2607:f8b0:400c:c03::234 as permitted sender) client-ip=2607:f8b0:400c:c03::234;
Original-Received: by mail-vc0-f180.google.com with SMTP id ij19so14717624vcb.11
        for <std-proposals@isocpp.org>; Sun, 24 Aug 2014 21:45:00 -0700 (PDT)
X-Received: by 10.220.30.8 with SMTP id s8mr3518071vcc.58.1408941900626; Sun,
 24 Aug 2014 21:45:00 -0700 (PDT)
Original-Sender: metafoo@gmail.com
Original-Received: by 10.221.60.8 with HTTP; Sun, 24 Aug 2014 21:45:00 -0700 (PDT)
In-Reply-To: <570663A9-F617-442F-9B48-5B6E7311AE72@gmail.com>
X-Original-Sender: richard@metafoo.co.uk
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of metafoo@gmail.com designates 2607:f8b0:400c:c03::234 as permitted
 sender) smtp.mail=metafoo@gmail.com;       dkim=pass header.i=@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:12477
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/12477>

--001a11c2d0567f02a205016cd943
Content-Type: text/plain; charset=UTF-8

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.


> Compare:
> std::placeholders::_1 // old
> 1param // new
>
> Would it cause a problem to add it in the global namespace with no leading
> underscore? This saves the user a using directive and the name operator
> "" param is reserved to the language anyway. It should still be an
> ordinary part of the language, declared by <functional>.
>
> The name needs to be bikeshedded.
>
>  --
>
> ---
> 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/.
>

-- 

--- 
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/.

--001a11c2d0567f02a205016cd943
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On S=
at, Aug 23, 2014 at 6:21 PM, David Krauss <span dir=3D"ltr">&lt;<a href=3D"=
mailto:potswa@gmail.com" target=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&#39;t benefit from having two ways to do the same th=
ing.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style=3D"word-wrap:break-word"><div>Compare:</div><div><font face=3D"C=
ourier"><span style=3D"white-space:pre-wrap">	</span>std::placeholders::_1 =
// old</font></div><div><font face=3D"Courier"><span style=3D"white-space:p=
re-wrap">	</span>1param // new</font></div>
<div><br></div><div>Would it cause a problem to add it in the global namesp=
ace with no leading underscore? This saves the user a <font face=3D"Courier=
">using</font> directive and the name <font face=3D"Courier">operator &quot=
;&quot; param</font> is reserved to the language anyway. It should still be=
 an ordinary part of the language, declared by <font face=3D"Courier">&lt;f=
unctional&gt;</font>.</div>
<div><br></div><div>The name needs to be bikeshedded.</div><span class=3D"H=
OEnZb"><font color=3D"#888888"><div><br></div></font></span></div><span cla=
ss=3D"HOEnZb"><font color=3D"#888888">

<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" target=3D"_=
blank">std-proposals+unsubscribe@isocpp.org</a>.<br>
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org" target=3D"_blank">std-proposals@isocpp.org</a>.<br>
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/" target=3D"_blank">http://groups.google.com/a/isocpp.org/gro=
up/std-proposals/</a>.<br>
</font></span></blockquote></div><br></div></div>

<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 />

--001a11c2d0567f02a205016cd943--

.
