220 7450 <CAGg_6+Ph8FRc+939QVuJbzYtbo-ef3zGqPsPFjXCY9AUDLPAFQ@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Nevin Liber <nevin@eviloverlord.com>
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 18:08:10 -0400
Lines: 76
Approved: news@gmane.org
Message-ID: <CAGg_6+Ph8FRc+939QVuJbzYtbo-ef3zGqPsPFjXCY9AUDLPAFQ@mail.gmail.com>
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>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=f46d0434bc142d3c8004e96fc3b9
X-Trace: ger.gmane.org 1382566130 9450 80.91.229.3 (23 Oct 2013 22:08:50 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 23 Oct 2013 22:08:50 +0000 (UTC)
To: "std-proposals@isocpp.org" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCE35H5S6IDBB5MRUGJQKGQEMA34P2Q@isocpp.org Thu Oct 24 00:08:54 2013
Return-path: <std-proposals+bncBCE35H5S6IDBB5MRUGJQKGQEMA34P2Q@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ee0-f69.google.com ([74.125.83.69])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCE35H5S6IDBB5MRUGJQKGQEMA34P2Q@isocpp.org>)
	id 1VZ6bm-00038Z-I9
	for gclcip-std-proposals@m.gmane.org; Thu, 24 Oct 2013 00:08:54 +0200
Original-Received: by mail-ee0-f69.google.com with SMTP id d51sf1637238eek.0
        for <gclcip-std-proposals@m.gmane.org>; Wed, 23 Oct 2013 15:08:54 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=mime-version:sender:in-reply-to:references:from:date:message-id
         :subject: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=k4F73sMAdx2bq//sEu6cIRqqH/7Rvc5M5cAvIvH6pXU=;
        b=jmupkx34sriwdRPRW0Nu3PsfbvBs9KiYFRasaPaQpV1JQVImEsTCcusMUjsIax5Ruv
         IIkAHAWjDT1dLLUGAb53gew1ppm3nv/ee/5wIr/9CKq/TMr0uFuG2oJkmdlMvA4c54I3
         NeMIt8CcUpnM+SSbrfN1rQoP4p5VrORb5MQ3AKaVDE6FsDddrsE7yAlhSveaeZrL399h
         4J13D8qFBUq6z6QcFtez7AxPgC40CIabKKacYrCOdr/5dR6Ks/vn9IZiBxS2gp4SeGfr
         YWFarjNQAmbljC+H/H/oHimNe/EupC/xuMlBb8RL6b2HZ8DbdjVgDUYvMbTU7QiGTj5x
         MqDQ==
X-Received: by 10.180.39.200 with SMTP id r8mr1571443wik.2.1382566133989;
        Wed, 23 Oct 2013 15:08:53 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.180.94.198 with SMTP id de6ls998522wib.12.canary; Wed, 23 Oct
 2013 15:08:52 -0700 (PDT)
X-Received: by 10.180.98.105 with SMTP id eh9mr3934074wib.56.1382566132513;
        Wed, 23 Oct 2013 15:08:52 -0700 (PDT)
Original-Received: from mail-wg0-x230.google.com (mail-wg0-x230.google.com [2a00:1450:400c:c00::230])
        by mx.google.com with ESMTPS id om7si10300493wjc.42.2013.10.23.15.08.52
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Wed, 23 Oct 2013 15:08:52 -0700 (PDT)
Received-SPF: pass (google.com: domain of nliber@gmail.com designates 2a00:1450:400c:c00::230 as permitted sender) client-ip=2a00:1450:400c:c00::230;
Original-Received: by mail-wg0-f48.google.com with SMTP id b13so1496061wgh.27
        for <std-proposals@isocpp.org>; Wed, 23 Oct 2013 15:08:52 -0700 (PDT)
X-Received: by 10.180.83.194 with SMTP id s2mr3413614wiy.60.1382566132003;
 Wed, 23 Oct 2013 15:08:52 -0700 (PDT)
Original-Sender: nliber@gmail.com
Original-Received: by 10.194.152.100 with HTTP; Wed, 23 Oct 2013 15:08:10 -0700 (PDT)
In-Reply-To: <fcf8d15e-af56-4351-bc4b-2e5984399240@isocpp.org>
X-Original-Sender: nevin@eviloverlord.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of nliber@gmail.com designates 2a00:1450:400c:c00::230 as permitted
 sender) smtp.mail=nliber@gmail.com;       dkim=pass header.i=@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:7450
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/7450>

--f46d0434bc142d3c8004e96fc3b9
Content-Type: text/plain; charset=ISO-8859-1

On 23 October 2013 12:20, Vlad from Moscow <vlad.moscow@mail.ru> wrote:

> append shows more clear the intention of the programmer. Consider code
>
> v.insert( it, std::begin( a ), std:;end( a ) );
>
> You can say nothing whether the array is indeed inserted or appended.
>

Well, they are using an iterator in a variable, so most likely they have
found the position they which to insert the elements of a, regardless of
whether it is technically appending or inserting somewhere else.  After
all, if they really meant appending, why not write it instead as
v.insert(v.end(), std::begin(a), std::end(a));?

Contrived situations don't sway me.  Bad programmers will write convoluted
code no matter how many member functions we give them.
-- 
 Nevin ":-)" Liber  <mailto:nevin@eviloverlord.com>  (847) 691-1404

-- 

--- 
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/.

--f46d0434bc142d3c8004e96fc3b9
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra">On 23 October 2013 12:20, Vlad =
from Moscow <span dir=3D"ltr">&lt;<a href=3D"mailto:vlad.moscow@mail.ru" ta=
rget=3D"_blank">vlad.moscow@mail.ru</a>&gt;</span> wrote:<br><div class=3D"=
gmail_quote">

<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>append shows more clea=
r the intention of the programmer. Consider code</div><div>=A0</div><div>v.=
insert( it, std::begin( a ), std:;end( a ) );</div>

<div>=A0</div><div>You can say nothing whether the array is indeed inserted=
 or appended.</div></div></blockquote><div><br></div><div>Well, they are us=
ing an iterator in a variable, so most likely they have found the position =
they which to insert the elements of a, regardless of whether it is technic=
ally appending or inserting somewhere else. =A0After all, if they really me=
ant appending, why not write it instead as v.insert(v.end(), std::begin(a),=
 std::end(a));?</div>

<div><br></div><div>Contrived situations don&#39;t sway me. =A0Bad programm=
ers will write convoluted code no matter how many member functions we give =
them.</div></div>-- <br>=A0Nevin &quot;:-)&quot; Liber=A0 &lt;mailto:<a hre=
f=3D"mailto:nevin@eviloverlord.com" target=3D"_blank">nevin@eviloverlord.co=
m</a>&gt;=A0 (847) 691-1404
</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 />

--f46d0434bc142d3c8004e96fc3b9--

.
