220 25411 <dcc5f082-0164-4102-b539-6666b68df667@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Leo Heinsaar <leoheinsaar@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Serious omission of fundamental algorithms in STL
Date: Fri, 1 Apr 2016 01:25:59 -0700 (PDT)
Lines: 74
Approved: news@gmane.org
Message-ID: <dcc5f082-0164-4102-b539-6666b68df667@isocpp.org>
References: <b10648e2-bfc5-42db-9742-cb3db41019d4@isocpp.org>
 <20160401071241.GA6991@noemi>
 <33a823b3-ad93-4651-a4d3-19d5b232d597@isocpp.org>
 <CAFk2RUZYuvMj-Oi1toaRt7DoMsxzs=bbtfJA4j46Uk9O9_qAog@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_4706_122434165.1459499159170"
X-Trace: ger.gmane.org 1459499170 20255 80.91.229.3 (1 Apr 2016 08:26:10 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 1 Apr 2016 08:26:10 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCFYDAXXQYEBBF7B7C3QKGQEZGBGZSY@isocpp.org Fri Apr 01 10:26:06 2016
Return-path: <std-proposals+bncBCFYDAXXQYEBBF7B7C3QKGQEZGBGZSY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qg0-f71.google.com ([209.85.192.71])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCFYDAXXQYEBBF7B7C3QKGQEZGBGZSY@isocpp.org>)
	id 1aluP8-0002tm-FZ
	for gclcip-std-proposals@m.gmane.org; Fri, 01 Apr 2016 10:26:06 +0200
Original-Received: by mail-qg0-f71.google.com with SMTP id y89sf113176209qge.2
        for <gclcip-std-proposals@m.gmane.org>; Fri, 01 Apr 2016 01:26:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=uxBVFAiC8JMm9wAyRUkiY9TURjkgMaMRzQZbbTnFWBY=;
        b=vjDzJ14jmtqJQ2o2MRPLeviSoRhMTEmlz4w8bbS+0ij7Ccnfdn7tKAQ+mz7PclMb0i
         c3PUXkjJ2u85VwMpVeJE0UFVGUgEeM/uNcWneOqVnO1uOvJryGOSrbbOAOWElxFd7o+R
         El1OUaEged+zJevevEZ8aNPV4DpbPbzkVqEbGxCGtVMITvxmSKoNuF5nk8fVbEPtx/+j
         GbI5KCUNbf3FmDgi0CDK1K9x34gWtZMUyivz/Gt6cBE+pHm3xlSimTsgnUIi2mgo3Jby
         QWhJPJITp/kndFSC8DVIYCg3Tz7gl3ZixVPUXRi/22jk81zzkIyIri53SkSFXNZRsNRL
         taGA==
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
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=uxBVFAiC8JMm9wAyRUkiY9TURjkgMaMRzQZbbTnFWBY=;
        b=Ij6LgulDCCS6/LsGn7OIOjDsSNPr2clxVzESj7FZui3j0JrfbW6AlStwJdZDQQSYer
         l1hdUnK8GNlB9e28VXmP0bsPSUp9t5uH90C7N0w1ltfdfJNpSWoTxYTJJin9ZC+aRAC9
         rPL32C0Eo+bXcL6duYd5lWjFjCOfHRsJV5UGa8wHn7BpxTbFloJEa+HRFyVFqWZBZmpi
         ZJi7chXPqPP7Op7I2wr7R3MSOZVRE2YlyRAy45xTP9WDXuMWJM3bJJ6wvV5IlxUDjE5I
         AU0Mt25warsttm8CsAuRfRxjYL5yJNZBIT5PMEOuBXc4TlMFKUfZ+RvGbRBMKMIqnsMz
         QtnA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:x-original-sender:reply-to:precedence
         :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help
         :list-archive:list-subscribe:list-unsubscribe;
        bh=uxBVFAiC8JMm9wAyRUkiY9TURjkgMaMRzQZbbTnFWBY=;
        b=QkgcTu6M6lZjPahzv7HmD1j2DL24JJjQTLulN1Y25P7LGrsUWPcEJIJi4RwYHCR3XX
         yGAN8BiW5D3AKKtZN2xlVym60A8oFs2N3lCNsJvFCuTf4VVIUbNo0EcnZ3tLndE+w6Bx
         L6DpSt87IWxjkiGf3hIv2kGreqoXNQ8m0VxRCIxJZiYDf6l7rp/ixC77rgWrPc66747z
         P+NpPR/6Tikt8ogNhNSGdb46P++q5ydEnphp8XFkDJV4MVx05CWpDXtVtuRuJRf/WgED
         N2OtEU3AXSNtS/jTZiHX2ObOhrV9dPZJI5/0yOTCOC+kES07U+yBSn89IJxdZE9rjif7
         GhfQ==
X-Gm-Message-State: AD7BkJJGNgponTJ9627gJQ+DU1E388qJbZNmR5Is0gfzqjNkLImsKt+eAtobLW8XS7SkDg==
X-Received: by 10.140.93.85 with SMTP id c79mr2289871qge.28.1459499160620;
        Fri, 01 Apr 2016 01:26:00 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.184.195 with SMTP id i186ls438164iof.86.gmail; Fri, 01 Apr
 2016 01:25:59 -0700 (PDT)
X-Received: by 10.50.36.68 with SMTP id o4mr27174igj.1.1459499159733;
        Fri, 01 Apr 2016 01:25:59 -0700 (PDT)
In-Reply-To: <CAFk2RUZYuvMj-Oi1toaRt7DoMsxzs=bbtfJA4j46Uk9O9_qAog@mail.gmail.com>
X-Original-Sender: leoheinsaar@gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Spam-Checked-In-Group: std-proposals@isocpp.org
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://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>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:25411
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/25411>

------=_Part_4706_122434165.1459499159170
Content-Type: multipart/alternative; 
	boundary="----=_Part_4707_1561449863.1459499159170"

------=_Part_4707_1561449863.1459499159170
Content-Type: text/plain; charset=UTF-8


>
> I would expect a broader study of fixes necessary for the library. We 
> should look at adding a std::ypoc as 
> the more intuitive spelling for std::reverse_copy, with the potential 
> intent to deprecate and remove the 
> completely non-intuitive status quo. Similarly, we should look at 
> completing the set of find-algorithms; 
> we have find_if, so we should probably also have find_else, find_for, 
> find_do and find_while, and potentially 
> also find_switch. In addition to that, if we have find_if_not, we 
> should probably also have find_if_and and 
> find_if_or. 
>

Also a very useful bunch that totally deserves to be in the Standard.
For example, find_or_else(begin, end, std::terminate) could send a very 
strong message to the program that it better find what I'm looking for.

-- 
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.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/dcc5f082-0164-4102-b539-6666b68df667%40isocpp.org.

------=_Part_4707_1561449863.1459499159170
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><blockquote class=3D"gmail_quote" style=3D"margin: 0;margi=
n-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">I would expec=
t a broader study of fixes necessary for the library. We
<br>should look at adding a std::ypoc as
<br>the more intuitive spelling for std::reverse_copy, with the potential
<br>intent to deprecate and remove the
<br>completely non-intuitive status quo. Similarly, we should look at
<br>completing the set of find-algorithms;
<br>we have find_if, so we should probably also have find_else, find_for,
<br>find_do and find_while, and potentially
<br>also find_switch. In addition to that, if we have find_if_not, we
<br>should probably also have find_if_and and
<br>find_if_or.
<br></blockquote><div><br></div><div>Also a very useful bunch that totally =
deserves to be in the Standard.</div><div>For example, <font face=3D"courie=
r new, monospace">find_or_else(begin, end, std::terminate)</font> could sen=
d a very strong message to the program that it better find what I&#39;m loo=
king for.</div><div><br></div></div>

<p></p>

-- <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 />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/dcc5f082-0164-4102-b539-6666b68df667%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/dcc5f082-0164-4102-b539-6666b68df667=
%40isocpp.org</a>.<br />

------=_Part_4707_1561449863.1459499159170--
------=_Part_4706_122434165.1459499159170--

.
