220 12479 <4C793318-D13F-4558-A678-D15A971E8CF9@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 13:00:13 +0800
Lines: 75
Approved: news@gmane.org
Message-ID: <4C793318-D13F-4558-A678-D15A971E8CF9@gmail.com>
References: <570663A9-F617-442F-9B48-5B6E7311AE72@gmail.com> <CAOfiQqkd5FeVLM879bHNZwSmdWNyV3Ag9xiOBF0wU=5Ri4iE=A@mail.gmail.com> <040716B3-CF41-46C7-AA1C-CB49818FA5EF@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=_CF49D5BB-CB18-4D2D-9C9F-0156D1895D10"
X-Trace: ger.gmane.org 1408942836 26393 80.91.229.3 (25 Aug 2014 05:00:36 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 25 Aug 2014 05:00:36 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCW25A7E3QCRB2EF5OPQKGQEZEP5UHI@isocpp.org Mon Aug 25 07:00:26 2014
Return-path: <std-proposals+bncBCW25A7E3QCRB2EF5OPQKGQEZEP5UHI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ig0-f200.google.com ([209.85.213.200])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCW25A7E3QCRB2EF5OPQKGQEZEP5UHI@isocpp.org>)
	id 1XLmOI-0006Oj-CL
	for gclcip-std-proposals@m.gmane.org; Mon, 25 Aug 2014 07:00:26 +0200
Original-Received: by mail-ig0-f200.google.com with SMTP id uq10sf12672744igb.11
        for <gclcip-std-proposals@m.gmane.org>; Sun, 24 Aug 2014 22:00:25 -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=jlax/7Ms69iProskxBS4b8PMo+ZgN7IGfiMZJDsAQRY=;
        b=i7ryD4Xglejxhl9EQW308d9ihp6Aqz1vaToikwon9O5G43T/TpIR5MhCGNXBf3EhGX
         HgwYejpcKWRPdHVK9vBY4ab3Ya60Q8doyfighsdxKbW4B5T0/NvteEiIWdbWuz036Z1m
         Ht+JGjB9kI7OQflokOg/p73lvSG2NKEzHwvpTYfWa78EFI2Wxi55IRVPY2JxtLIUg0lx
         xNNpWAcTvTDCgNmhAmTz3p3RB3zGFl8A96oVtRKGJ7QikZkFxFHj6pNZGdlmAKfFDJVU
         67Sjn6EIHeXsNAGIjFpNJIYBn+fG2Sg16cLEyV5n14Gp9SkTWDCirXHx/P8R74egnzRm
         MLRA==
X-Gm-Message-State: ALoCoQn3BnSmDPQe3NgOGwItJQ1Wl6q+yB5hC0VqLlc4Zh8VVzidcjL6nic27gVNQA70UF7p8BqB
X-Received: by 10.182.117.231 with SMTP id kh7mr13159812obb.0.1408942825510;
        Sun, 24 Aug 2014 22:00:25 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.51.17.97 with SMTP id gd1ls1066568igd.22.canary; Sun, 24 Aug
 2014 22:00:24 -0700 (PDT)
X-Received: by 10.68.220.105 with SMTP id pv9mr25616034pbc.8.1408942824195;
        Sun, 24 Aug 2014 22:00:24 -0700 (PDT)
Original-Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com [2607:f8b0:400e:c03::22e])
        by mx.google.com with ESMTPS id gv10si51384770pbd.90.2014.08.24.22.00.24
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sun, 24 Aug 2014 22:00:24 -0700 (PDT)
Received-SPF: pass (google.com: domain of potswa@gmail.com designates 2607:f8b0:400e:c03::22e as permitted sender) client-ip=2607:f8b0:400e:c03::22e;
Original-Received: by mail-pa0-f46.google.com with SMTP id lj1so20041076pab.5
        for <std-proposals@isocpp.org>; Sun, 24 Aug 2014 22:00:24 -0700 (PDT)
X-Received: by 10.68.243.70 with SMTP id ww6mr25024603pbc.3.1408942824024;
        Sun, 24 Aug 2014 22:00:24 -0700 (PDT)
Original-Received: from [172.20.10.2] ([121.54.54.129])
        by mx.google.com with ESMTPSA id z4sm29727993pdp.69.2014.08.24.22.00.22
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sun, 24 Aug 2014 22:00:23 -0700 (PDT)
In-Reply-To: <040716B3-CF41-46C7-AA1C-CB49818FA5EF@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::22e 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:12479
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/12479>

--Apple-Mail=_CF49D5BB-CB18-4D2D-9C9F-0156D1895D10
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=ISO-8859-1


On 2014-08-25, at 12:50 PM, David Krauss <potswa@gmail.com> wrote:

> 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, t=
hat's the use case I know :P .

.... Well, to be sure, bind can be leveraged in metaprogramming to construct=
 free-form functions, from a basis function an argument list of mixed value=
s and placeholders. Such style is pretty close to pure lambda calculus. Thi=
s might be helpful in expression template implementation, but I've not real=
ly gotten into that.

Also, just to hammer on everyone equally, my project also segfaulted Clang =
up until 3.4, whereupon I migrated to it :) .

--=20

---=20
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 e=
mail 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-proposa=
ls/.

--Apple-Mail=_CF49D5BB-CB18-4D2D-9C9F-0156D1895D10
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:50 PM, David Krauss &lt;<a href=3D"mailto:potswa@g=
mail.com">potswa@gmail.com</a>&gt; wrote:</div><br class=3D"Apple-interchan=
ge-newline"><blockquote type=3D"cite"><meta http-equiv=3D"Content-Type" con=
tent=3D"text/html charset=3Dwindows-1252"><div style=3D"word-wrap: break-wo=
rd; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">The l=
ast time I used <font face=3D"Courier">bind</font> was a while ago, to work=
 around a GCC bug with non-generic lambdas in pack expansions. Currently my=
 project doesn&rsquo;t build in GCC; it segfaults and reports an ICE pointi=
ng at a generic lambda. So, that&rsquo;s the use case I know :P .</div></bl=
ockquote><div><br></div>&hellip; Well, to be sure,&nbsp;<font face=3D"Couri=
er">bind</font> can be leveraged in metaprogramming to construct free-form =
functions, from a basis function an argument list of mixed values and place=
holders. Such style is pretty close to pure lambda calculus. This might be =
helpful in expression template implementation, but I&rsquo;ve not really go=
tten into that.</div><div><br></div><div>Also, just to hammer on everyone e=
qually, my project also segfaulted Clang up until 3.4, whereupon I migrated=
 to 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=_CF49D5BB-CB18-4D2D-9C9F-0156D1895D10--

.
