220 34440 <CAFk2RUYa9k+2sXLH7zTdhWiHdh7SvguNCk0Zc8thnjuf-e+fEA@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Ville Voutilainen <ville.voutilainen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Copy eliding emplacement functions for containers.
Date: Wed, 20 Sep 2017 19:37:19 +0300
Lines: 13
Approved: news@gmane.org
Message-ID: <CAFk2RUYa9k+2sXLH7zTdhWiHdh7SvguNCk0Zc8thnjuf-e+fEA@mail.gmail.com>
References: <0144b887-c694-4f3e-b368-32645a1562d9@isocpp.org>
 <CAOfiQqn40HxZtT_zCgH2mzNZ-binpgf3+uULrZLNVGDmwYcgSA@mail.gmail.com> <91059302-a6de-4c33-b868-82b312c679f3@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: blaine.gmane.org 1505925444 5257 195.159.176.226 (20 Sep 2017 16:37:24 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Wed, 20 Sep 2017 16:37:24 +0000 (UTC)
To: "ISO C++ Standard - Future Proposals" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBC5JHI7A7ALRBQFSRLHAKGQEIQELMDQ@isocpp.org Wed Sep 20 18:37:17 2017
Return-path: <std-proposals+bncBC5JHI7A7ALRBQFSRLHAKGQEIQELMDQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yw0-f200.google.com ([209.85.161.200])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBQFSRLHAKGQEIQELMDQ@isocpp.org>)
	id 1duhzu-0000ub-Ma
	for gclcip-std-proposals@m.gmane.org; Wed, 20 Sep 2017 18:37:14 +0200
Original-Received: by mail-yw0-f200.google.com with SMTP id l4sf2382255ywa.5
        for <gclcip-std-proposals@m.gmane.org>; Wed, 20 Sep 2017 09:37:22 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1505925442; cv=pass;
        d=google.com; s=arc-20160816;
        b=DROAIIY7QRMnsry2rwzY6DCD5V1L187Du2crGZsfUm04IHLmfwAg6X/wN0VTHwvHoQ
         0i1t3LH4Z1lsZQdvJBPzMoLkYK7lbwbDovdYqeYHKrlDe3AsCqbcWFWiClRQFgC13o8a
         j425Pkl3PHBQ5VetYLDX4lKDnxHOooi10OjiBj7QH9ZGFiHQv3yR4xIOYtkdwviK+tiS
         9V5MHvICGUL93cys/UKRRojrAviHyjhFnTK4YHNwAz05EfqmBfvOjMB9q2MbQKQyrrhS
         WZwP6DjM+Wy5SRkpyaqRf1bJ/OV4ywN6FOobGiyf+OBqA5T+s2TyoZK+sR/YGDsdxK8m
         9EaQ==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date
         :from:references:in-reply-to:mime-version:arc-authentication-results
         :arc-message-signature:dkim-signature:arc-authentication-results;
        bh=ugRke6lHdnQ/mnQY6bdM5KHlNOxD1qbhFBifURwCAiY=;
        b=WWiyphIwuSlQNT9ZUzFbBi5SJrr8BWt0b0vPMA0qBdthfrqokjuewSP6mNX0YNjOoU
         AiONcXA351Ni+ohaqY4GtZ4JdaJnZ7p5Z/Uo3fxxQbgOK7IX2gOjJSroRoN2JexgdcZ5
         DQ0M56/od2gYVpK0qcrbdvnaiLuMvVnQhGnPy+k2srjMJ128ycMK8ftvBOkHROMnmV5k
         RxmOjz68vrzSzSR7Rcv9JiuiD1umtf5D1bZ6oHkOC49adroAUb5Lpb13n6fc4rACG4h3
         8k5Gt3LdXbVfIItohgpKZvKcxGYkfXJnQb0Ux2JIaaoKSdf2HYCcH6i7Wrt/sSQJQrCp
         F+DQ==
ARC-Authentication-Results: i=2; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=WPGL+YHh;
       spf=pass (google.com: domain of ville.voutilainen@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=ville.voutilainen@gmail.com;
       dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        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;
        bh=ugRke6lHdnQ/mnQY6bdM5KHlNOxD1qbhFBifURwCAiY=;
        b=EQTWMfE6RtfxKV4yXaVWrgNe1zRVNrzXH9fOF7VI/f0kJWCfACEQThB2d9Q1GeRViP
         TE7YxgZVDPGHpmUDDl2NLpCeQ5lUVMJ4vkKzIqctFodzy1DeJhwmCoQVy8P2A1PwLdE8
         ECflQbk9dKUnsLv12xGaEI6cyuYSOnqFP3oc4ZTxaJZZ8zk13JLnvoMjPQabtUWj5Xdf
         r56cfO8htW7zSQmVvQabJ44u9PYqAFB0GvPstuUL2PgMZcX249g6N+FMeOAw3+QNIn/M
         I6gKpQjJqKNJ5k8VAwoMZQ4s59GHlADwZBBTMwRcMZm9z6J/a8W2fGd8l4pui4WruqYo
         BlWQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state: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:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=ugRke6lHdnQ/mnQY6bdM5KHlNOxD1qbhFBifURwCAiY=;
        b=hFKNB0LSYb8tleTe//bCtY2BDB+BduVEUBfKVQB66FcCxZnPs24sAN/y/0yoXF7SrC
         n8erxSCL+IzwENZnGaOfI1Gh3Pz0mliZkMj5CyDEecxSEwfgXGqguKv6m/4GQs1sG8ZP
         YK42kXFJDy67JMgJ3zP7j90ye/qthn140UqvTZuW9d9MvzVzT2gKTn50B3WM+LdSAGW/
         1OP+Olpd/liwYZrEKojMiTXiUitdtt57EeJ4Lh+fj2pslLGq5jBGpzd+zSg300HBimi7
         g8YaNlLM6FyH+j5Hqpfal3dRcLP/dW+UxqDxbjK0H0T4MjPvi0Cgb9Th/xFatvLaoc67
         fKng==
X-Gm-Message-State: AHPjjUj/CQgyPiL71mcC7TZiwf+1aZzobuj4OUOWuNi3f29ogGIdu0H3
	aYhYMMQvK3szg3IEeiTkMDdyfA==
X-Google-Smtp-Source: AOwi7QD0zhfaAL+3GROKYXXcNBmgvB5z7XucF8ALPTQWLWupVMb0GPgYFdfREp97KRzB4mRVJfxJeQ==
X-Received: by 10.13.216.70 with SMTP id a67mr3060259ywe.122.1505925441913;
        Wed, 20 Sep 2017 09:37:21 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.202.206.141 with SMTP id e135ls317404oig.4.gmail; Wed, 20 Sep
 2017 09:37:20 -0700 (PDT)
X-Received: by 10.202.208.135 with SMTP id j7mr6212320oiy.146.1505925440529;
        Wed, 20 Sep 2017 09:37:20 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1505925440; cv=none;
        d=google.com; s=arc-20160816;
        b=Q1Wc+Y1Q6whLchj194VVCQg74jU0RUipL1v6yr39IrYOmA81OfnjTDFRJc9JRiNwxm
         HhZWkxeoFFc+V1yz1NM0YAwv1iblVTQHnk2GNoDG6H3d7KCN3Gkz/zpO8LNTU89CRVu5
         PFBsuk1Tv4AHEJcZEKq6q5BgSTQ6OOIoCXZmY+OlqTJ+FzyUuHmrjskHzyxCSaDul33w
         hwzq/HgfcEDSXxUmysR0XxLUE4zGm6v/xKw+YppKfN4c80HnOA7Oxm1s6K9Ztu0yFwB9
         7dNcVN0Y90W2DIbtDjMGgJjZisNvXzuVjbsDOyKRUQDx7X/xP5fld0avJoqv+JObcMaW
         cn7g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=to:subject:message-id:date:from:references:in-reply-to:mime-version
         :dkim-signature:arc-authentication-results;
        bh=xHDVXJsFrkHjq3oMa8r+CVbGfNBVZcSVGNEm+FcBCnE=;
        b=YGaKV7Wcjgdwpz7wsKCUIn026K/qiWOuWxB1+2rR87lHUQFBvwk0Kgb8Qiy33Ue3MC
         NWljw8MvM1iiNlxyY+ksK06pt+sxJVEKcbXLmwWCJcQ/gosUd/zL+j2HvuDIfq9YTKCf
         BfIDuxXgnDGFS2YEX41tSQM4RoIDalpz6YP5nEWmPjM16T/X1nQhwbxQYrbBf/K5qZOd
         vW0zHCHZiOf2T5//k2lu49AHRMtEsc7Ao6t26XJ33Fhwyw/W0xq7CwFU4mlQq+h4/zrM
         emqecv7bAZCAqwpKMVbKg4oiM+4+T6RqhPMQgmxRkky7WAw234GommInDNcXFT4Ccnf2
         CN/g==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=WPGL+YHh;
       spf=pass (google.com: domain of ville.voutilainen@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=ville.voutilainen@gmail.com;
       dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com
Original-Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41])
        by mx.google.com with SMTPS id q203sor1048410oib.7.2017.09.20.09.37.20
        for <std-proposals@isocpp.org>
        (Google Transport Security);
        Wed, 20 Sep 2017 09:37:20 -0700 (PDT)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Received: by 10.202.236.131 with SMTP id k125mr6802779oih.313.1505925440095;
 Wed, 20 Sep 2017 09:37:20 -0700 (PDT)
Original-Received: by 10.157.2.132 with HTTP; Wed, 20 Sep 2017 09:37:19 -0700 (PDT)
In-Reply-To: <91059302-a6de-4c33-b868-82b312c679f3@isocpp.org>
X-Original-Sender: ville.voutilainen@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com header.s=20161025 header.b=WPGL+YHh;       spf=pass
 (google.com: domain of ville.voutilainen@gmail.com designates 209.85.220.41
 as permitted sender) smtp.mailfrom=ville.voutilainen@gmail.com;
       dmarc=pass (p=NONE sp=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: <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:34440
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/34440>

On 20 September 2017 at 19:34, Ray Hamel <rayghamel@gmail.com> wrote:
> Anyway, plain push_back has a T&& overload, which isn't eligible for copy
> elision but does move-construct the element from the argument, and move
> construction is about as fast as copy elision.

This is less about what is fast as it it about what is possible.

-- 
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/CAFk2RUYa9k%2B2sXLH7zTdhWiHdh7SvguNCk0Zc8thnjuf-e%2BfEA%40mail.gmail.com.

.
