220 7167 <250f40c5-0f36-4d1a-877f-b785d67b551b@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Evgeny Panasyuk <evgeny.panasyuk@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: "count_while" and "count_until" algorithms
Date: Tue, 8 Oct 2013 13:32:35 -0700 (PDT)
Lines: 54
Approved: news@gmane.org
Message-ID: <250f40c5-0f36-4d1a-877f-b785d67b551b@isocpp.org>
References: <CAOpASk64dV+3ZUW+Z8wcEqug_oSaztvJp1zsDB_QdAxi+fwcsA@mail.gmail.com>
 <3c5637a3-5760-4825-83e1-c4bfc062e652@isocpp.org>
 <15c8d7a7-0547-466a-846a-e5f4656b62cd@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_402_6554228.1381264355520"
X-Trace: ger.gmane.org 1381264359 30805 80.91.229.3 (8 Oct 2013 20:32:39 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 8 Oct 2013 20:32:39 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC54TLGKR4LBBZGX2GJAKGQETCRORKQ@isocpp.org Tue Oct 08 22:32:43 2013
Return-path: <std-proposals+bncBC54TLGKR4LBBZGX2GJAKGQETCRORKQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-oa0-f70.google.com ([209.85.219.70])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC54TLGKR4LBBZGX2GJAKGQETCRORKQ@isocpp.org>)
	id 1VTdxN-0002wq-Nn
	for gclcip-std-proposals@m.gmane.org; Tue, 08 Oct 2013 22:32:37 +0200
Original-Received: by mail-oa0-f70.google.com with SMTP id g12sf28799190oah.5
        for <gclcip-std-proposals@m.gmane.org>; Tue, 08 Oct 2013 13:32:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe
         :content-type;
        bh=eFx9K5KlCICMKDtSKEoo8UdMCg8MKkvWJ2oqs3nyL90=;
        b=WH6iNtijKbo5uVNcEMxucMQMpZaIpbLsJHrwPYG8D99tkqe/HRmvIcwq/xhRl56AXm
         s2BsKmIOlBEEwfIBSbjPfZn0ff72nIinVylXocOuQXhfSwfixj769puF4I4AqTOfZPLL
         ih8J57R7t6Eizc69MAgjzTR1kKpSHfnXppkhbXDmUuScOz65INMD82GepcRspRTFiC3Y
         dlyVv+ABMFWNewuJl6aZ0UR+u7jQlITYZg4ly2fmBOMQC1p6jYt3eHbZ8blzaqE9e3/F
         dch1vdbdP/OQJpzCuDwyqGKS6z7m5nyZPfwSY8GM3jKcTh/V3sXe1EsKTvMpR0pBFiHm
         +9Qg==
X-Received: by 10.42.98.76 with SMTP id r12mr1029602icn.7.1381264356725;
        Tue, 08 Oct 2013 13:32:36 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.50.30.170 with SMTP id t10ls677905igh.9.gmail; Tue, 08 Oct
 2013 13:32:36 -0700 (PDT)
X-Received: by 10.50.23.8 with SMTP id i8mr1066755igf.8.1381264356370;
        Tue, 08 Oct 2013 13:32:36 -0700 (PDT)
In-Reply-To: <15c8d7a7-0547-466a-846a-e5f4656b62cd@isocpp.org>
X-Original-Sender: evgeny.panasyuk@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:7167
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/7167>

------=_Part_402_6554228.1381264355520
Content-Type: text/plain; charset=KOI8-R
Content-Transfer-Encoding: quoted-printable

9 oct 2013 =C7., 0:28:49 UTC+4 Vlad from Moscow:
>
> Though maybe I am mistaken because the equivalent code does not work for=
=20
> iterators that have std::input_iterator_tag.
>
>
Moreover, for forward and bidirectional iterators std::distance will not be=
=20
efficient approach.

--=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/.

------=_Part_402_6554228.1381264355520
Content-Type: text/html; charset=KOI8-R
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">9 oct 2013&nbsp;=C7., 0:28:49 UTC+4 Vlad from Moscow:<bloc=
kquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;border-l=
eft: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"ltr"><div>Though maybe =
I am mistaken because the equivalent code does not work for iterators that =
have std::input_iterator_tag.</div><br></div></blockquote><div><br>Moreover=
, for forward and bidirectional iterators  std::distance will not be effici=
ent approach.<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 />

------=_Part_402_6554228.1381264355520--

.
