220 7970 <CAPBZbvz4TG0eWUXwe6SQ2_s-qCfb2sT1BA_nuhJ2c=JrzBmREA@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: "Billy O'Neal" <billy.oneal@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: A proposal to add lambda/function traits to
 the STL
Date: Wed, 27 Nov 2013 14:40:43 -0500
Lines: 127
Approved: news@gmane.org
Message-ID: <CAPBZbvz4TG0eWUXwe6SQ2_s-qCfb2sT1BA_nuhJ2c=JrzBmREA@mail.gmail.com>
References: <203889a9-743f-4083-ba9b-fd15506b2e86@isocpp.org> <cd3ed7ec-9ed2-4c8e-a5ba-49bc412736d6@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=089e01175d5d3ffcd104ec2dc8eb
X-Trace: ger.gmane.org 1385581284 5045 80.91.229.3 (27 Nov 2013 19:41:24 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 27 Nov 2013 19:41:24 +0000 (UTC)
To: std-proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDKLBLVE6ADBBZ4V3GKAKGQEZPKFHPI@isocpp.org Wed Nov 27 20:41:30 2013
Return-path: <std-proposals+bncBDKLBLVE6ADBBZ4V3GKAKGQEZPKFHPI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qa0-f72.google.com ([209.85.216.72])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDKLBLVE6ADBBZ4V3GKAKGQEZPKFHPI@isocpp.org>)
	id 1VlkzI-0006Sv-Hq
	for gclcip-std-proposals@m.gmane.org; Wed, 27 Nov 2013 20:41:28 +0100
Original-Received: by mail-qa0-f72.google.com with SMTP id f11sf27562671qae.7
        for <gclcip-std-proposals@m.gmane.org>; Wed, 27 Nov 2013 11:41:27 -0800 (PST)
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:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe:content-type;
        bh=5ksKCvYIbwj1v++ivYmbqmd8wGJ3xJeDv/G9m1EiYpQ=;
        b=k03nqmDLIn9vhxcO3d+d/nc5HUXUH+cNspavTgYBXYUg56PlCy0UT/a9vnmQreidzb
         glHkLQl+wAY9Bsrte5FPuGhwPP4qcho9Hv+iPrygSBZfGs2jxrVoy57vJ4H9amUUclOb
         KvTLkJrhFcZvEADK42K4cY7k9o3QzQy2gCO3b+AxHQdYt7r/yz2f09QFS4I5b980wCGr
         RwakS1IPECNuIhR5mT18gdZ+0CNxhcHIM+kwGILEEMBOJTUzbK5hr3XckUmeXdrwfkZH
         h0arz8wbrBS46JWYZt5Kj5IzhaurbCbHd1dOkFqk/RkoDBOcIuEGUydy0U4ERo4taqA6
         sbFA==
X-Gm-Message-State: ALoCoQmDpDlQIcoq8vKb1uzGxNtDg2NTOvIHVOzh4tu0BvBPilEvpuMJfYcKGCOno9Ar1hQ3zJqB
X-Received: by 10.236.121.195 with SMTP id r43mr11214438yhh.44.1385581287783;
        Wed, 27 Nov 2013 11:41:27 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.49.131.162 with SMTP id on2ls3259864qeb.73.gmail; Wed, 27 Nov
 2013 11:41:26 -0800 (PST)
X-Received: by 10.229.136.73 with SMTP id q9mr1341941qct.15.1385581286933;
        Wed, 27 Nov 2013 11:41:26 -0800 (PST)
Original-Received: from mail-oa0-x22c.google.com (mail-oa0-x22c.google.com [2607:f8b0:4003:c02::22c])
        by mx.google.com with ESMTPS id k3si15476615qao.138.2013.11.27.11.41.25
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Wed, 27 Nov 2013 11:41:25 -0800 (PST)
Received-SPF: pass (google.com: domain of billy.oneal@gmail.com designates 2607:f8b0:4003:c02::22c as permitted sender) client-ip=2607:f8b0:4003:c02::22c;
Original-Received: by mail-oa0-f44.google.com with SMTP id m1so8196365oag.17
        for <std-proposals@isocpp.org>; Wed, 27 Nov 2013 11:41:24 -0800 (PST)
X-Received: by 10.60.83.136 with SMTP id q8mr35178906oey.24.1385581284160;
 Wed, 27 Nov 2013 11:41:24 -0800 (PST)
Original-Received: by 10.182.87.37 with HTTP; Wed, 27 Nov 2013 11:40:43 -0800 (PST)
In-Reply-To: <cd3ed7ec-9ed2-4c8e-a5ba-49bc412736d6@isocpp.org>
X-Original-Sender: billy.oneal@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of billy.oneal@gmail.com designates 2607:f8b0:4003:c02::22c as
 permitted sender) smtp.mail=billy.oneal@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: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:7970
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/7970>

--089e01175d5d3ffcd104ec2dc8eb
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

What do you mean by a predicate? Just that it returns bool? If so, you can
already find that out using result_of.

Billy O'Neal
https://github.com/BillyONeal/ <https://bitbucket.org/BillyONeal/>
http://stackoverflow.com/users/82320/billy-oneal
Malware Response Instructor - BleepingComputer.com


On Wed, Nov 27, 2013 at 2:14 PM, <morwenn29@gmail.com> wrote:

> Another function-related trait that could be useful would be a trait to
> check whether a given function is a predicate or not.
>
>
> Le mercredi 6 novembre 2013 19:35:18 UTC+1, Emil 'Skeen' Madsen a =E9crit=
 :
>>
>> I just finished writing the first draft of my first proposal ever.
>> And before submitting it, I'd like to discuss the matter at hand, and th=
e
>> proposal at this forum.
>>
>> The proposal is about adding traits, to determine a lambdas return and
>> argument type(s) at compile time, to the standard library.
>>
>> Have a look,
>> I'm open to all kinds of criticism and feedback :)
>>
>> // Emil 'Skeen' Madsen.
>>
>  --
>
> ---
> 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/.
>

--=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/.

--089e01175d5d3ffcd104ec2dc8eb
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">What do you mean by a predicate? Just that it returns bool=
? If so, you can already find that out using result_of.</div><div class=3D"=
gmail_extra"><br clear=3D"all"><div><div dir=3D"ltr"><div>Billy O&#39;Neal<=
/div>

<div><a href=3D"https://bitbucket.org/BillyONeal/" target=3D"_blank">https:=
//github.com/BillyONeal/</a></div><div><a href=3D"http://stackoverflow.com/=
users/82320/billy-oneal" target=3D"_blank">http://stackoverflow.com/users/8=
2320/billy-oneal</a></div>

<div>Malware Response Instructor - BleepingComputer.com</div></div></div>
<br><br><div class=3D"gmail_quote">On Wed, Nov 27, 2013 at 2:14 PM,  <span =
dir=3D"ltr">&lt;<a href=3D"mailto:morwenn29@gmail.com" target=3D"_blank">mo=
rwenn29@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote=
" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir=3D"ltr">Another function-related trait that could be useful would =
be a trait to check whether a given function is a predicate or not.<div cla=
ss=3D"im"><br><br>Le mercredi 6 novembre 2013 19:35:18 UTC+1, Emil &#39;Ske=
en&#39; Madsen a =E9crit=A0:<blockquote class=3D"gmail_quote" style=3D"marg=
in:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir=3D"ltr">I just finished writing the first draft of my first propos=
al ever.<br>And before submitting it, I&#39;d like to discuss the matter at=
 hand, and the proposal at this forum.<br><br>The proposal is about adding =
traits, to determine a lambdas return and argument type(s) at compile time,=
 to the standard library.<br>

<br>Have a look,<br>I&#39;m open to all kinds of criticism and feedback :)<=
br><br>// Emil &#39;Skeen&#39; Madsen.<br></div></blockquote></div></div><d=
iv class=3D"HOEnZb"><div class=3D"h5">

<p></p>

-- <br>
=A0<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%2Bunsubscribe@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>
</div></div></blockquote></div><br></div>

<p></p>

-- <br />
&nbsp;<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 std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<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 />

--089e01175d5d3ffcd104ec2dc8eb--

.
