220 7185 <CAGNvRgC5fFHPm4_i_W1jvE7HJePvw+Es10um2ebdp+UJt6N9Jg@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: =?ISO-8859-1?Q?Daniel_Kr=FCgler?= <daniel.kruegler@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: "count_while" and "count_until" algorithms
Date: Tue, 8 Oct 2013 23:00:37 +0200
Lines: 31
Approved: news@gmane.org
Message-ID: <CAGNvRgC5fFHPm4_i_W1jvE7HJePvw+Es10um2ebdp+UJt6N9Jg@mail.gmail.com>
References: <CAOpASk64dV+3ZUW+Z8wcEqug_oSaztvJp1zsDB_QdAxi+fwcsA@mail.gmail.com>
	<fe7981d7-4eaf-4132-9150-4ec7d3ff7ac4@isocpp.org>
	<2602b3fd-fccd-459b-be1a-93a12005dc5c@isocpp.org>
	<231e6ef1-599d-4877-be6c-55e85e5a4e41@isocpp.org>
	<6e15fc38-8be3-4e74-ade9-e25a8d0e0509@isocpp.org>
	<2a52a3ad-4fe6-4f77-870c-2a26c2e10e52@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: ger.gmane.org 1381266038 17672 80.91.229.3 (8 Oct 2013 21:00:38 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 8 Oct 2013 21:00:38 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCT7RVFA4QORB57E2GJAKGQEDDEEEXY@isocpp.org Tue Oct 08 23:00:44 2013
Return-path: <std-proposals+bncBCT7RVFA4QORB57E2GJAKGQEDDEEEXY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wi0-f198.google.com ([209.85.212.198])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCT7RVFA4QORB57E2GJAKGQEDDEEEXY@isocpp.org>)
	id 1VTeOX-00019u-70
	for gclcip-std-proposals@m.gmane.org; Tue, 08 Oct 2013 23:00:41 +0200
Original-Received: by mail-wi0-f198.google.com with SMTP id hq15sf9251103wib.9
        for <gclcip-std-proposals@m.gmane.org>; Tue, 08 Oct 2013 14:00:40 -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=O0IU8QCt5IAEPlLinLfWnh4tLS3v5zDTQba8kTIp0eI=;
        b=IaVH3JwHFfeLT2+h0+eAS+drLhieFa4yGshPFBGqoA2y8ZWzBNY6Q/nsnLOm0Fc19p
         +SY2ECciYcltUY8VK1iaCjd78mqvvokUSmH6654IjzmahqeSBLTWUmNUztQWWXSbp/mv
         iJ2SBOuUr8iC/t3CfMzDdcm9KZCFGNyEENWmtACgJeoLzvBMbuz9IUkG2WFcEse17iNP
         eaULZjdoV0nQHzh2hTNOuHNJYMTtM/zYduvw7AG+WOA66gQUdHFL0eWLKs2a+pU3onCD
         dN0P2MxC1d7yozsWrnQYjPSpORQ4Cel1e5hq7fmvMhAGm1kEq5L7vG1Yxz2idSAjwwAt
         Caxw==
X-Received: by 10.180.36.97 with SMTP id p1mr1457986wij.3.1381266040565;
        Tue, 08 Oct 2013 14:00:40 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.180.108.164 with SMTP id hl4ls1324312wib.11.canary; Tue, 08
 Oct 2013 14:00:39 -0700 (PDT)
X-Received: by 10.180.99.99 with SMTP id ep3mr3394791wib.11.1381266039045;
        Tue, 08 Oct 2013 14:00:39 -0700 (PDT)
Original-Received: from mail-we0-x22e.google.com (mail-we0-x22e.google.com [2a00:1450:400c:c03::22e])
        by mx.google.com with ESMTPS id gd10si2082657wic.44.1969.12.31.16.00.00
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Tue, 08 Oct 2013 14:00:38 -0700 (PDT)
Received-SPF: pass (google.com: domain of daniel.kruegler@gmail.com designates 2a00:1450:400c:c03::22e as permitted sender) client-ip=2a00:1450:400c:c03::22e;
Original-Received: by mail-we0-f174.google.com with SMTP id u56so6206487wes.5
        for <std-proposals@isocpp.org>; Tue, 08 Oct 2013 14:00:37 -0700 (PDT)
X-Received: by 10.180.189.9 with SMTP id ge9mr3392198wic.52.1381266037829;
 Tue, 08 Oct 2013 14:00:37 -0700 (PDT)
Original-Received: by 10.216.153.8 with HTTP; Tue, 8 Oct 2013 14:00:37 -0700 (PDT)
In-Reply-To: <2a52a3ad-4fe6-4f77-870c-2a26c2e10e52@isocpp.org>
X-Original-Sender: daniel.kruegler@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of daniel.kruegler@gmail.com designates 2a00:1450:400c:c03::22e as
 permitted sender) smtp.mail=daniel.kruegler@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:7185
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/7185>

2013/10/8 Evgeny Panasyuk <evgeny.panasyuk@gmail.com>:
> Alexander Stepanov used std::pair for that purpose at his "Efficient
> Programming with Components" lectures

Actually the Library does this already at several occasions:

mismatch, partition_copy, equal_range, minmax, minmax_element,
get_temporary_buffer, ...

See also

http://cplusplus.github.io/LWG/lwg-active.html#2242

for another miss of useful information.

Unfortunately,

http://cplusplus.github.io/LWG/lwg-closed.html#1313

was declared NAD. I think I will re-raise it soon.

- Daniel

-- 

--- 
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/.

.
