220 7175 <CAFk2RUY8PPW-x2MGEgE_-t_COC8Vb6Ru6zPWTpgGfQYChd6HGQ@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Ville Voutilainen <ville.voutilainen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: "count_while" and "count_until" algorithms
Date: Tue, 8 Oct 2013 23:42:24 +0300
Lines: 58
Approved: news@gmane.org
Message-ID: <CAFk2RUY8PPW-x2MGEgE_-t_COC8Vb6Ru6zPWTpgGfQYChd6HGQ@mail.gmail.com>
References: <CAOpASk64dV+3ZUW+Z8wcEqug_oSaztvJp1zsDB_QdAxi+fwcsA@mail.gmail.com>
	<285a478e-ce03-42b9-9196-c7d0855e11aa@isocpp.org>
	<82850309-b16b-44bd-b478-e2e63e43d6ca@isocpp.org>
	<f5a8968e-3d90-49b3-82a6-c65ac5bbc8a6@isocpp.org>
	<b910005f-d42e-401e-abda-866a10109ad0@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=047d7bdc10185d5fc404e840cecd
X-Trace: ger.gmane.org 1381264943 5231 80.91.229.3 (8 Oct 2013 20:42:23 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 8 Oct 2013 20:42:23 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC5JHI7A7ALRBMO42GJAKGQENHABMDY@isocpp.org Tue Oct 08 22:42:27 2013
Return-path: <std-proposals+bncBC5JHI7A7ALRBMO42GJAKGQENHABMDY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-gg0-f199.google.com ([209.85.161.199])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBMO42GJAKGQENHABMDY@isocpp.org>)
	id 1VTe6s-00007t-KY
	for gclcip-std-proposals@m.gmane.org; Tue, 08 Oct 2013 22:42:26 +0200
Original-Received: by mail-gg0-f199.google.com with SMTP id h3sf11472117gge.10
        for <gclcip-std-proposals@m.gmane.org>; Tue, 08 Oct 2013 13:42:25 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=mime-version: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=279dR07vD84Irq0DXH2ay6KEF2YfkU6RxrThylk6yYA=;
        b=jeqxGM9N49OOK7/nCfvDgnLtcvOWq9miCyofiw/2uu42NywZu+ErOOrMs5tGEHAzZn
         45t18OLEf+LS3n2CHfma8yNf0Shoey4io0VATIr50PPqsJhmQAxtXm09V8x2GU4U6HfD
         dgGSynL1su/LT7QALML5ZChpB4pYRk/HXk8lgjM45gB+susuyyypF3Xx6BtPUtvgXnqc
         I/WytkyRcaeVtkxU6BgjqNM3PyQ1ttzT9z6idfNYwi9qjB61QeYVKBJhjZja+O/5YtnT
         7FgGXS6swxs9IG/47afHC1n2K8ZBE6/naqITp1VvLJGrTC+ZNFFjm1PvAZeIuM70mTg2
         +E3A==
X-Received: by 10.236.90.67 with SMTP id d43mr3691327yhf.36.1381264945387;
        Tue, 08 Oct 2013 13:42:25 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.49.1.130 with SMTP id 2ls393796qem.93.gmail; Tue, 08 Oct 2013
 13:42:24 -0700 (PDT)
X-Received: by 10.224.172.132 with SMTP id l4mr6593737qaz.22.1381264944708;
        Tue, 08 Oct 2013 13:42:24 -0700 (PDT)
Original-Received: from mail-qc0-x230.google.com (mail-qc0-x230.google.com [2607:f8b0:400d:c01::230])
        by mx.google.com with ESMTPS id u3si2575192qej.13.1969.12.31.16.00.00
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Tue, 08 Oct 2013 13:42:24 -0700 (PDT)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:400d:c01::230 as permitted sender) client-ip=2607:f8b0:400d:c01::230;
Original-Received: by mail-qc0-f176.google.com with SMTP id t7so6326167qcv.21
        for <std-proposals@isocpp.org>; Tue, 08 Oct 2013 13:42:24 -0700 (PDT)
X-Received: by 10.49.4.199 with SMTP id m7mr4811824qem.19.1381264944617; Tue,
 08 Oct 2013 13:42:24 -0700 (PDT)
Original-Received: by 10.224.76.135 with HTTP; Tue, 8 Oct 2013 13:42:24 -0700 (PDT)
In-Reply-To: <b910005f-d42e-401e-abda-866a10109ad0@isocpp.org>
X-Original-Sender: ville.voutilainen@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of ville.voutilainen@gmail.com designates 2607:f8b0:400d:c01::230 as
 permitted sender) smtp.mail=ville.voutilainen@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:7175
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/7175>

--047d7bdc10185d5fc404e840cecd
Content-Type: text/plain; charset=ISO-8859-1

On 8 October 2013 23:40, Vlad from Moscow <vlad.moscow@mail.ru> wrote:

> As any negation of an unary predicate can be written as std::not1(
> unary_predicate ) there is enough to propose only one algorithm namely with
> name count_first_if.:)
>
>
>
not1 doesn't work with most predicates people are likely to write, which is
lambdas.
Then again, there's a proposal for a generic not_fn that doesn't require the
nested result_type.

-- 

--- 
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/.

--047d7bdc10185d5fc404e840cecd
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><br><div class=3D"gmail=
_quote">On 8 October 2013 23:40, Vlad from Moscow <span dir=3D"ltr">&lt;<a =
href=3D"mailto:vlad.moscow@mail.ru" target=3D"_blank">vlad.moscow@mail.ru</=
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 dir=3D"ltr"><div>As any negation of an =
unary predicate can be written as std::not1( unary_predicate ) there is eno=
ugh to propose only one algorithm namely with name count_first_if.:)</div>
<div><br><br></div></div></blockquote><div><br></div><div>not1 doesn&#39;t =
work with most predicates people are likely to write, which is lambdas.<br>=
</div><div>Then again, there&#39;s a proposal for a generic not_fn that doe=
sn&#39;t require the<br>
nested result_type. <br></div></div><br></div></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 />

--047d7bdc10185d5fc404e840cecd--

.
