220 23759 <CAGsORuDqCbn5w=nOFCUp2RVNTYqN6geu3F8z87Wnd=Jty0hVfQ@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Zhihao Yuan <zy@miator.net>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Allowing uncopyable allocators
Date: Sun, 17 Jan 2016 01:38:35 -0600
Lines: 28
Approved: news@gmane.org
Message-ID: <CAGsORuDqCbn5w=nOFCUp2RVNTYqN6geu3F8z87Wnd=Jty0hVfQ@mail.gmail.com>
References: <657cb0a7-4854-41c6-963f-5a11cc677157@isocpp.org>
	<CAGsORuBC6atKs+yAOZCUCCiPHdaQdL9eOon390G2j2W208+pew@mail.gmail.com>
	<1c315b77-38b7-46b8-8105-2703b4dccb6d@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: ger.gmane.org 1453016327 24687 80.91.229.3 (17 Jan 2016 07:38:47 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sun, 17 Jan 2016 07:38:47 +0000 (UTC)
To: "std-proposals@isocpp.org" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCSKRWMD4EHBB7EJ5W2AKGQEBG4DJRY@isocpp.org Sun Jan 17 08:38:39 2016
Return-path: <std-proposals+bncBCSKRWMD4EHBB7EJ5W2AKGQEBG4DJRY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-io0-f197.google.com ([209.85.223.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCSKRWMD4EHBB7EJ5W2AKGQEBG4DJRY@isocpp.org>)
	id 1aKhv4-00061D-VE
	for gclcip-std-proposals@m.gmane.org; Sun, 17 Jan 2016 08:38:39 +0100
Original-Received: by mail-io0-f197.google.com with SMTP id q21sf1330523001iod.3
        for <gclcip-std-proposals@m.gmane.org>; Sat, 16 Jan 2016 23:38:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=miator-net.20150623.gappssmtp.com; s=20150623;
        h=sender:mime-version:in-reply-to:references:date:message-id:subject
         :from:to:content-type: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=5nGk9/xs3JK+lqFp4sJdX9me5qnM3AbZ91VwgHVcKUc=;
        b=iic6Ioc3FyK5T17MOZ1NnRXr/xy0HwmPypj6R6t75+nF4x3oKeGyHMWTSv70vfyk61
         DrDr3ns5C/V0Utnxb+WbCkhS8BkwcThzttdE+khVeOIvIeXmoVO27dTyWb1tg9kjOo8G
         iE8qmBdFO7EzAC8merfCeNhwt4ksqa24ioHHN3JOXL1f5FUB/qHkI9XRck5TXUpVkTrX
         aOTK71HR2oVXtIuPqKoAZrrkvEMLXniN4+JTG2BOMChxQtMKpgIzO4jKwCUhqlx4hW/L
         8OKrcPM3cTEK2pv2+osTLNLY7HR4xhT/9IuVmYeuP4Zy4FUx2yUgQRo/TjHPFvO3ybC2
         7hFA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:sender:mime-version:in-reply-to:references:date
         :message-id:subject:from:to:content-type: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=5nGk9/xs3JK+lqFp4sJdX9me5qnM3AbZ91VwgHVcKUc=;
        b=UkMvclqmhMvFCNmNNl6fwqlVibwfj/RR2wxbh/QtfzWwQO7KVdpoO5azY+39txjnRb
         sb027ZTwtiPB7cNRPjkzTaTN+mPDV58CB+t+gcGFsZMncC4jlntE4A5fEdcYrVvQNWLf
         vlig/zrKWZhKnUZDwJyXUd14edwDwVr5KnlzAsGyynUSJs+5G+FJKFs48wSDAbbyzQE/
         y6qK4HeKlDvH9mLAofqCYigAGKv4n4E82p9ehlZt0DOOTr552fTEmp4BZ64JthXTDO78
         /1rk/aibPn4tTBQ3BcDlw/kGcGNuF0v7AS0gvqfrQ7IObgUIG3fjTFILo+/U/2UK8U4i
         +Cig==
X-Gm-Message-State: ALoCoQlotP7bfkz+tgRtO/c84/RfZZJuoo62J9Mk5YOtR/BlxHy33rHUhWumMb1saOYgdEcP7XUVxbXgKGbNDkz0NCf24GebSw==
X-Received: by 10.107.155.84 with SMTP id d81mr17163963ioe.27.1453016317905;
        Sat, 16 Jan 2016 23:38:37 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.94.238 with SMTP id g101ls1760779qge.57.gmail; Sat, 16 Jan
 2016 23:38:36 -0800 (PST)
X-Received: by 10.55.22.9 with SMTP id g9mr23505587qkh.12.1453016316043;
        Sat, 16 Jan 2016 23:38:36 -0800 (PST)
Original-Received: from mail-s68.mailgun.info (mail-s68.mailgun.info. [184.173.153.196])
        by mx.google.com with ESMTPS id z17si23974861qka.125.2016.01.16.23.38.35
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sat, 16 Jan 2016 23:38:35 -0800 (PST)
Received-SPF: pass (google.com: domain of bounce+3f9131.69110-std-proposals=isocpp.org@miator.net designates 184.173.153.196 as permitted sender) client-ip=184.173.153.196;
Original-Sender: zy@miator.net
X-Mailgun-Sid: WyI3MTBkYiIsICJzdGQtcHJvcG9zYWxzQGlzb2NwcC5vcmciLCAiNjkxMTAiXQ==
Original-Received: from mail-io0-f170.google.com (mail-io0-f170.google.com [209.85.223.170])
 by mxa.mailgun.org with ESMTP id 569b44fb.7f02fd1034b0-in02;
 Sun, 17 Jan 2016 07:38:35 -0000 (UTC)
Original-Received: by mail-io0-f170.google.com with SMTP id q21so523698593iod.0
        for <std-proposals@isocpp.org>; Sat, 16 Jan 2016 23:38:35 -0800 (PST)
X-Received: by 10.107.8.20 with SMTP id 20mr19376792ioi.34.1453016315414; Sat,
 16 Jan 2016 23:38:35 -0800 (PST)
Original-Received: by 10.79.31.130 with HTTP; Sat, 16 Jan 2016 23:38:35 -0800 (PST)
In-Reply-To: <1c315b77-38b7-46b8-8105-2703b4dccb6d@isocpp.org>
X-Gmail-Original-Message-ID: <CAGsORuDqCbn5w=nOFCUp2RVNTYqN6geu3F8z87Wnd=Jty0hVfQ@mail.gmail.com>
X-Original-Sender: zy@miator.net
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of bounce+3f9131.69110-std-proposals=isocpp.org@miator.net designates
 184.173.153.196 as permitted sender) smtp.mailfrom=bounce+3f9131.69110-std-proposals=isocpp.org@miator.net;
       dkim=pass header.i=@miator.net
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: <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:23759
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/23759>

On Sun, Jan 17, 2016 at 12:36 AM,  <quicknir@gmail.com> wrote:
> Even if copy elision is mandatory under certain circumstances, this doesn't
> change the fact that a conforming implementation is free to copy around
> allocators as much as it wants, because a conforming allocator has to be
> copy constructible.

I see where the "problem" is.  But this will require changing all
functions taking a default constructed allocator as const& in the
signatures.

And you need to convince people about why it's useful.
To me, only polymorphic memory resource is useful; other
people may have different opinions.

-- 
Zhihao Yuan, ID lichray
The best way to predict the future is to invent it.
___________________________________________________
4BSD -- http://bit.ly/blog4bsd

-- 

--- 
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 https://groups.google.com/a/isocpp.org/group/std-proposals/.

.
