220 7463 <18f34d4f-27c7-487f-a2f2-18d3e0a38f7b@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Vlad from Moscow <vlad.moscow@mail.ru>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: To add the method append for all sequential
 containers that have method push_back
Date: Wed, 23 Oct 2013 17:16:38 -0700 (PDT)
Lines: 79
Approved: news@gmane.org
Message-ID: <18f34d4f-27c7-487f-a2f2-18d3e0a38f7b@isocpp.org>
References: <4167b82e-a3cc-44ce-9825-b52514bc1531@isocpp.org>
 <357325b0-cec5-4d22-ad56-9bb66f76b458@isocpp.org> <c98342aa-14d6-4fc6-8499-234c5e44e894@isocpp.org>
 <983ff074-5d8c-488a-b06c-49d53d5b7a5b@isocpp.org> <f47679d2-be05-4fdf-aea6-c617eb291aad@isocpp.org>
 <369298d9-3f8b-405a-8bfe-ae209372a26f@isocpp.org> <CAPBZbvzVuUKHsNSWz+KQPBzB1KJh0KgaY_cv6XuCwuhbZRhgHw@mail.gmail.com>
 <f844b34d-f64b-430d-9328-e44246a89238@isocpp.org> <f651b25b-213e-4c22-bd6e-17c96fde46a7@isocpp.org>
 <e826236a-84aa-4623-9510-014881b55004@isocpp.org> <5266DEEC.7090805@gmail.com>
 <eec4b9ca-711c-4b64-bac5-3c08bd3361a8@isocpp.org> <7c9a2637-65d8-4d54-bd3c-b46c0c22b34f@isocpp.org>
 <70a718dd-eca7-4845-8e9c-0313581ed453@isocpp.org> <6b9f62b2-21b1-4c62-a815-217d77a59a23@isocpp.org>
 <df68e700-1cb4-4af5-ba94-e4b589f33e0e@isocpp.org> <0e98fae6-2dc5-4e50-8659-5334012c4dd4@isocpp.org>
 <0d945506-2a09-4645-a68e-ada2b9898aa9@isocpp.org> <69dd52d3-c35e-4391-b998-d1a35c4599d6@isocpp.org>
 <e853f305-0999-437a-840c-3d829a24566d@isocpp.org> <CAGg_6+OvEyyLFZcGqo2xc0aDu4MeYiCmWMymW1YVNPJqJ1+S7A@mail.gmail.com>
 <CAFk2RUYQ1LkfCO5yXWPeStcadYuz7AO4V5bH=mfQMFNm45GM0Q@mail.gmail.com>
 <CAGsORuAyVwKGwdGMyAc3rg1KbOA3AXuYWwgubkXgt-oQRH9AiQ@mail.gmail.com>
 <fcf8d15e-af56-4351-bc4b-2e5984399240@isocpp.org> <CAGg_6+Ph8FRc+939QVuJbzYtbo-ef3zGqPsPFjXCY9AUDLPAFQ@mail.gmail.com>
 <CAGsORuAcTDjMcXVoAQ+MEUZ6DL0PEDW32RWDQSf4EyxS+Ln=tw@mail.gmail.com>
 <CAGsORuC0hbic60tY3sVng8K+-qMmekp83kq4Jed36O2+BQ5=UQ@mail.gmail.com>
 <0001b7d6-42ab-4f47-8104-1c5e93ecfbc4@isocpp.org> <CAPBZbvx-rmW3HcG+3WQrNbQ1gzr8UDj=2Xx+gRNOyhj5au61Xg@mail.gmail.com>
 <03ecdc90-1973-4e34-82c9-ab0043241a2b@isocpp.org>
 <CAPBZbvz+6=0bZsKAkrz=wn3whEr3_fnJ4dRaS8p-vTaVpEeB0w@mail.gmail.com>
 <94c6cdf1-e640-4cc9-9c4b-e2605610a715@isocpp.org>
 <8e3f0b94-b0a3-43e2-9a2c-853734b9d6c3@isocpp.org>
 <d6f21fc7-2176-45e2-b392-55a1e5c5c5e1@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_4424_20151755.1382573798855"
X-Trace: ger.gmane.org 1382573796 21274 80.91.229.3 (24 Oct 2013 00:16:36 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 24 Oct 2013 00:16:36 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCXLLRHD7IDRBZ6NUGJQKGQEFSXEC6A@isocpp.org Thu Oct 24 02:16:41 2013
Return-path: <std-proposals+bncBCXLLRHD7IDRBZ6NUGJQKGQEFSXEC6A@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-vb0-f69.google.com ([209.85.212.69])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCXLLRHD7IDRBZ6NUGJQKGQEFSXEC6A@isocpp.org>)
	id 1VZ8bQ-0006x2-LB
	for gclcip-std-proposals@m.gmane.org; Thu, 24 Oct 2013 02:16:40 +0200
Original-Received: by mail-vb0-f69.google.com with SMTP id e12sf3729621vbg.4
        for <gclcip-std-proposals@m.gmane.org>; Wed, 23 Oct 2013 17:16:39 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        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=w4thd76F/oEEO5OrrxJ063hytr6aFkCXThn6B6i5rMY=;
        b=LodWQZoONh8G8CcleQv+cCAIgidteJxEUaiuubvqm/5wUOoWInrksrlQ/BsCyKB5p2
         92OjHawMI6pNVrRFRnqKLK7eeSSFVETrkIRCpu1nD4KwFkbxeenw632DBQAV/TQNHxPJ
         WfZsDZZVIp/pBhXiMkS09sKX86/IepOVqVNSWHmss2hPtZ+X1Y4e9roCt+EpoAUeJR3g
         DuG5CN0hCXJaC6cuU7gAgwbcOcnEpRsuoOtjy5MfasKZAOHBivNd/oA7lEQVerF4y4yv
         iDeKO1+CG/zHhhVlx9F0YHJNXrLIf9U5ThI1EeNr+MjjBoB1wxq9eYzp7khE7mNVDvcX
         vBDw==
X-Received: by 10.236.32.74 with SMTP id n50mr4206555yha.13.1382573799820;
        Wed, 23 Oct 2013 17:16:39 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.49.12.103 with SMTP id x7ls708782qeb.14.gmail; Wed, 23 Oct
 2013 17:16:39 -0700 (PDT)
X-Received: by 10.49.82.69 with SMTP id g5mr282qey.24.1382573799391;
        Wed, 23 Oct 2013 17:16:39 -0700 (PDT)
In-Reply-To: <d6f21fc7-2176-45e2-b392-55a1e5c5c5e1@isocpp.org>
X-Original-Sender: vlad.moscow@mail.ru
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:7463
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/7463>

------=_Part_4424_20151755.1382573798855
Content-Type: text/plain; charset=KOI8-R
Content-Transfer-Encoding: quoted-printable

It is a bad analogy. Algorithm are some sort of tasks that have usually=20
preconditions. You can not for example use binary_search with non-ordered=
=20
sequenses. So lower_bound is not a general function as you think. It is=20
very specific function.
=20

=DE=C5=D4=D7=C5=D2=C7, 24 =CF=CB=D4=D1=C2=D2=D1 2013 =C7., 4:10:43 UTC+4 =
=D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=D8 Evgeny Panasyuk=20
=CE=C1=D0=C9=D3=C1=CC:

> They will think so by analogy with other similar general functions as for=
=20
>> example advance that can be used with any type of iterators (except outp=
ut=20
>> iterators).
>>
>
> Generic function does not imply that it should work for everything.=20
> std::lower_bound does not work for input iterators.std::sort works only=
=20
> for random access.
> =20
>

--=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_4424_20151755.1382573798855
Content-Type: text/html; charset=KOI8-R
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>It is a bad analogy. Algorithm are some sort of tasks=
 that have usually preconditions. You can not for example use binary_search=
 with non-ordered sequenses. So lower_bound is not a general function as yo=
u think. It is very specific function.</div><div>&nbsp;</div><div><br>=DE=
=C5=D4=D7=C5=D2=C7, 24 =CF=CB=D4=D1=C2=D2=D1 2013&nbsp;=C7., 4:10:43 UTC+4 =
=D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=D8 Evgeny Panasyuk =CE=C1=D0=C9=D3=C1=CC:=
</div><blockquote class=3D"gmail_quote" style=3D"margin: 0px 0px 0px 0.8ex;=
 padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-widt=
h: 1px; border-left-style: solid;"><div dir=3D"ltr"><blockquote class=3D"gm=
ail_quote" style=3D"margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-le=
ft-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: so=
lid;"><div dir=3D"ltr"><div>They will think so by analogy with other simila=
r general functions as for example advance that can be used with any type o=
f iterators (except output iterators).</div></div></blockquote><div><br><h1=
>Generic function does not imply that it should work for everything. <br></=
h1><h1><span title=3D"namespace std">std::</span>lower_bound does not work =
for input iterators.</h1><h1>std::sort works only for random access.<br></h=
1>&nbsp;</div></div></blockquote></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_4424_20151755.1382573798855--

.
