220 7376 <CAPBZbvz5O8W92GWmvrxP8G8dRfXh0tkU_Cqzt-9BasqMigopfA@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: "Billy O'Neal" <billy.oneal@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: To add the method append for all sequential
 containers that have method push_back
Date: Sun, 20 Oct 2013 20:48:17 -0700
Lines: 128
Approved: news@gmane.org
Message-ID: <CAPBZbvz5O8W92GWmvrxP8G8dRfXh0tkU_Cqzt-9BasqMigopfA@mail.gmail.com>
References: <4167b82e-a3cc-44ce-9825-b52514bc1531@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=001a1133073ae5880104e93829b6
X-Trace: ger.gmane.org 1382327334 22143 80.91.229.3 (21 Oct 2013 03:48:54 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 21 Oct 2013 03:48:54 +0000 (UTC)
To: std-proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDKLBLVE6ADBBKOISKJQKGQEDBDBKBY@isocpp.org Mon Oct 21 05:49:00 2013
Return-path: <std-proposals+bncBDKLBLVE6ADBBKOISKJQKGQEDBDBKBY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ie0-f197.google.com ([209.85.223.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDKLBLVE6ADBBKOISKJQKGQEDBDBKBY@isocpp.org>)
	id 1VY6UF-0005na-4U
	for gclcip-std-proposals@m.gmane.org; Mon, 21 Oct 2013 05:48:59 +0200
Original-Received: by mail-ie0-f197.google.com with SMTP id e14sf17877298iej.4
        for <gclcip-std-proposals@m.gmane.org>; Sun, 20 Oct 2013 20:48:58 -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: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=JK1BhiNZnWt+4TZ0pS/sgbEQIkuVunYvEUWEBn46yFo=;
        b=C6dQFZV79FDAoCxk/6x8ek2w4fSsR4SLp4j+guHqWT/ni+hbZ8BdjD4nCL+O7BuWIg
         RASTFXvRe8hefsJy0bmXAZwy+BCRVKkBdC28T480VlQzwz/QbGiKlNDVYPXddyzHMY9Z
         nhWr1ffsVbhtV4O4FwiH9Ma4GXcbNHSm50nWlj+BDaZM8fm3zKYiRJBJY4WlwqEs3VC0
         N1LSa/RBXmr0i0uJ4D0usMTIZsFySDawxGT53eih5KOQ0RmoGD6N/DDRCQra1LhnmF1d
         5pZwbnkNJNc+k25hQERPTbyjcuGU74ByuLNNoLdDnH3h65brN2Q239JY81L6LaSf1TOF
         /jww==
X-Received: by 10.182.95.68 with SMTP id di4mr5872538obb.4.1382327338100;
        Sun, 20 Oct 2013 20:48:58 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.182.16.134 with SMTP id g6ls830535obd.98.gmail; Sun, 20 Oct
 2013 20:48:57 -0700 (PDT)
X-Received: by 10.182.250.163 with SMTP id zd3mr18824769obc.20.1382327337503;
        Sun, 20 Oct 2013 20:48:57 -0700 (PDT)
Original-Received: from mail-ob0-x22a.google.com (mail-ob0-x22a.google.com [2607:f8b0:4003:c01::22a])
        by mx.google.com with ESMTPS id sy1si9985950obc.116.2013.10.20.20.48.57
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sun, 20 Oct 2013 20:48:57 -0700 (PDT)
Received-SPF: pass (google.com: domain of billy.oneal@gmail.com designates 2607:f8b0:4003:c01::22a as permitted sender) client-ip=2607:f8b0:4003:c01::22a;
Original-Received: by mail-ob0-f170.google.com with SMTP id wp18so1943789obc.29
        for <std-proposals@isocpp.org>; Sun, 20 Oct 2013 20:48:57 -0700 (PDT)
X-Received: by 10.60.52.81 with SMTP id r17mr5617441oeo.3.1382327337190; Sun,
 20 Oct 2013 20:48:57 -0700 (PDT)
Original-Received: by 10.182.87.37 with HTTP; Sun, 20 Oct 2013 20:48:17 -0700 (PDT)
In-Reply-To: <4167b82e-a3cc-44ce-9825-b52514bc1531@isocpp.org>
X-Original-Sender: billy.oneal@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of billy.oneal@gmail.com designates 2607:f8b0:4003:c01::22a as
 permitted sender) smtp.mail=billy.oneal@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:7376
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/7376>

--001a1133073ae5880104e93829b6
Content-Type: text/plain; charset=ISO-8859-1

+1

Billy O'Neal
https://github.com/BillyONeal/ <https://bitbucket.org/BillyONeal/>
http://stackoverflow.com/users/82320/billy-oneal
Malware Response Instructor - BleepingComputer.com


On Sun, Oct 20, 2013 at 12:57 PM, Vlad from Moscow <vlad.moscow@mail.ru>wrote:

> I find out some inconvenience that sequential containers except
> std::basic_string that have method push_back at the same time have no
> method append.
>
> For example it would be not bad to write
>
> std::vector<int> v;
> // processing of v
>
> std::list<int> l;
> // processing of l
>
> v.append( l.begin(), l.end() );
>
> Although the same can be done with method insert as for example
>
> v.insert( v.end(), l.begin(), l.end() );
>
> I would prefer to use append because it has more clear semantic and
> interchangeable with method the append of std::basic_string.
>
> I would like to make such a proposal.
>
> Are any thoughts about adding the method append to sequantial containers?
>
> --
>
> ---
> 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/.
>

-- 

--- 
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/.

--001a1133073ae5880104e93829b6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">+1</div><div class=3D"gmail_extra"><br clear=3D"all"><div>=
<div dir=3D"ltr"><div>Billy O&#39;Neal</div><div><a href=3D"https://bitbuck=
et.org/BillyONeal/" target=3D"_blank">https://github.com/BillyONeal/</a></d=
iv><div><a href=3D"http://stackoverflow.com/users/82320/billy-oneal" target=
=3D"_blank">http://stackoverflow.com/users/82320/billy-oneal</a></div>

<div>Malware Response Instructor - BleepingComputer.com</div></div></div>
<br><br><div class=3D"gmail_quote">On Sun, Oct 20, 2013 at 12:57 PM, Vlad f=
rom Moscow <span dir=3D"ltr">&lt;<a href=3D"mailto:vlad.moscow@mail.ru" tar=
get=3D"_blank">vlad.moscow@mail.ru</a>&gt;</span> wrote:<br><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa=
dding-left:1ex">

<div dir=3D"ltr"><div>I=A0find out=A0some inconvenience that sequential con=
tainers except std::basic_string that have method push_back at the same tim=
e have no method append.</div><div>=A0</div><div>For example it would be no=
t bad to write</div>

<div>=A0</div><div>std::vector&lt;int&gt; v;</div><div>// processing of v</=
div><div>=A0</div><div><div>std::list&lt;int&gt; l;</div></div><div>// proc=
essing of l</div><div>=A0</div><div>v.append( l.begin(), l.end() );</div><d=
iv>

=A0</div><div>Although the same can be=A0done with method insert as for exa=
mple</div><div>=A0</div><div>v.insert( v.end(), l.begin(), l.end() );</div>=
<div>=A0</div><div>I would prefer to use append because it has more clear s=
emantic and interchangeable with method the append of std::basic_string.</d=
iv>

<div>=A0</div><div>I would like to make such a proposal.</div><div>=A0</div=
><div>Are any thoughts about adding the method append=A0to sequantial conta=
iners?</div></div><span class=3D"HOEnZb"><font color=3D"#888888">

<p></p>

-- <br>
=A0<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 <a href=3D"mailto:std-proposals%2Bunsubscribe@isocpp.org" target=3D=
"_blank">std-proposals+unsubscribe@isocpp.org</a>.<br>
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org" target=3D"_blank">std-proposals@isocpp.org</a>.<br>
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/" target=3D"_blank">http://groups.google.com/a/isocpp.org/gro=
up/std-proposals/</a>.<br>
</font></span></blockquote></div><br></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 />

--001a1133073ae5880104e93829b6--

.
