220 22536 <540065c4-de5a-4a39-9ae8-08edca5d7515@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: leni536@gmail.com
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: std::vector (and other containers) to have a
 perfect forwarding constructor
Date: Thu, 12 Nov 2015 01:14:30 -0800 (PST)
Lines: 52
Approved: news@gmane.org
Message-ID: <540065c4-de5a-4a39-9ae8-08edca5d7515@isocpp.org>
References: <14fb89ea-443b-4696-93ec-29889f642bca@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_145_209806065.1447319670643"
X-Trace: ger.gmane.org 1447319678 28341 80.91.229.3 (12 Nov 2015 09:14:38 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 12 Nov 2015 09:14:38 +0000 (UTC)
Cc: leni536@gmail.com
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDXJR44QUQHBB55QSGZAKGQERGLKYOY@isocpp.org Thu Nov 12 10:14:34 2015
Return-path: <std-proposals+bncBDXJR44QUQHBB55QSGZAKGQERGLKYOY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-oi0-f72.google.com ([209.85.218.72])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDXJR44QUQHBB55QSGZAKGQERGLKYOY@isocpp.org>)
	id 1Zwnxh-000071-RC
	for gclcip-std-proposals@m.gmane.org; Thu, 12 Nov 2015 10:14:33 +0100
Original-Received: by oibl204 with SMTP id l204sf88275048oib.3
        for <gclcip-std-proposals@m.gmane.org>; Thu, 12 Nov 2015 01:14:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp_org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:cc:message-id:in-reply-to:references:subject
         :mime-version:content-type: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=kDB5zrKUH93VtqyWt9oAe0aRo3+aUG2cdzf53t9a2A8=;
        b=ak9nL1eH1if9d9/D5QEvktSFoV4M5Ti6DFkmOcnIhGTHGfJfy5sDF623hLbCat270Q
         RCq/Vd8rtMBWfZwN6Y/yUgh2gR9Kb2SLxDL2MBM75vkVmlmz2aUEXymYd1T373rEDinn
         j0ha35Y6Z7jGz7i6SxHqLwpT9HJ/vQY+D0hUKdIv5nTvqPdOLuKbNxsYR3yckDLUx9Nm
         2d4MyCmjIhjTKOpSJvDb314bLZAnrvwFrgk6Ki5w6FbLLuf8uvUPA8z76jZqYPykVzdo
         ZUX30kH8P1+fRm6iIgrQsyT7YOrzFL1YE9B03Pa6Pk3fkQ3S1zyDX+eMH4iZC362W8NQ
         fKig==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:cc:message-id:in-reply-to:references:subject
         :mime-version:content-type: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=kDB5zrKUH93VtqyWt9oAe0aRo3+aUG2cdzf53t9a2A8=;
        b=G5Dgm+Wl4WwQr0QqVH9ekXYe8i4iyEfx6QYcNnogxvDabdwYwLzu1NM0QozN/JQO27
         IIneeStHhJcSqF36LxQn0ulA7YKibO9AIp68mQlJxakWMJlkZhzX9ixOCcVxd19k/gNM
         xEHa1oCopPMhO3iV3MGLgAHm5lvo9xQqkpZMYO/552W+T4z2u21CsJiNZNoM+yMHn8b1
         gcO0R8pQzU2LPVdk9x42rzprPIcAQszOn1K8LQ5Ily6FT0A9CwU6jllTVl6THTDAJFCB
         hlXe6giAxjFZdyMACO1rrtY6agX954qVPGeJkpegF1E3XAmWkROIbhlmR1a7eEG87pFy
         bPCQ==
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:cc:message-id:in-reply-to
         :references:subject:mime-version:content-type: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=kDB5zrKUH93VtqyWt9oAe0aRo3+aUG2cdzf53t9a2A8=;
        b=hgdinPKJIb2QiuhKmW6rHpXaaDKaNhIRrSTWkaZdEC0PjxlSlfwQRO9yoV/svjBjV8
         A8QiV07syz/lPC3/QFmyflX5dMTFtfl8yV86znC1Glf2LdCY43pEm/EoHBMV3/D0nkjS
         qFrHaXtWcVBLPteCeWTVNje8ow5DLeoAa1bCBCIB+mCrxISv1ARE6iJj3dz+vPQtzSgR
         osIBFxVefZSTYYYpginl9U4ACfk19F5TcRsAZtQfSc8Oudr/yKlOUZyDLLz4Ugu8CIkZ
         d1ZpWmv88C4TaWkjHgTEju9Uj3MMPrWThUR3GBNAl0OytT12wPxT5F9j6asEZqLEfFNi
         aFrg==
X-Gm-Message-State: ALoCoQmVSw/4F2rirQ5ZMT/unLOOPlFCpeAziQD90WZyIdPU+Wmm0Bp0o6Q7nz/52URdnyBDVe8W
X-Received: by 10.182.142.38 with SMTP id rt6mr12327466obb.33.1447319672330;
        Thu, 12 Nov 2015 01:14:32 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.3.234 with SMTP id e103ls431145ioi.8.gmail; Thu, 12 Nov
 2015 01:14:31 -0800 (PST)
X-Received: by 10.50.72.72 with SMTP id b8mr255306igv.2.1447319671500;
        Thu, 12 Nov 2015 01:14:31 -0800 (PST)
In-Reply-To: <14fb89ea-443b-4696-93ec-29889f642bca@isocpp.org>
X-Original-Sender: leni536@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: <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: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:22536
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/22536>

------=_Part_145_209806065.1447319670643
Content-Type: multipart/alternative; 
	boundary="----=_Part_146_2124678777.1447319670643"

------=_Part_146_2124678777.1447319670643
Content-Type: text/plain; charset=UTF-8

Here is my implementation for this type of constructor:

http://pastebin.com/GK5xn5tC

I inherit myvector from std::vector (including constructors) and only 
implement the new constructor, including the static_assert for move-only 
arguments.

-- 

--- 
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/.

------=_Part_146_2124678777.1447319670643
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Here is my implementation for this type of constructor:<di=
v><br></div><div>http://pastebin.com/GK5xn5tC<br></div><div><br></div><div>=
I inherit myvector from std::vector (including constructors) and only imple=
ment the new constructor, including the static_assert for move-only argumen=
ts.</div></div>

<p></p>

-- <br />
<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+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 />
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_146_2124678777.1447319670643--
------=_Part_145_209806065.1447319670643--

.
