220 23757 <CAGsORuBC6atKs+yAOZCUCCiPHdaQdL9eOon390G2j2W208+pew@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: Sat, 16 Jan 2016 22:12:18 -0600
Lines: 32
Approved: news@gmane.org
Message-ID: <CAGsORuBC6atKs+yAOZCUCCiPHdaQdL9eOon390G2j2W208+pew@mail.gmail.com>
References: <657cb0a7-4854-41c6-963f-5a11cc677157@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 1453003955 26098 80.91.229.3 (17 Jan 2016 04:12:35 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sun, 17 Jan 2016 04:12:35 +0000 (UTC)
To: "std-proposals@isocpp.org" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCSKRWMD4EHBBI5J5S2AKGQEFMV6NDQ@isocpp.org Sun Jan 17 05:12:25 2016
Return-path: <std-proposals+bncBCSKRWMD4EHBBI5J5S2AKGQEFMV6NDQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pf0-f198.google.com ([209.85.192.198])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCSKRWMD4EHBBI5J5S2AKGQEFMV6NDQ@isocpp.org>)
	id 1aKehS-0003u9-1L
	for gclcip-std-proposals@m.gmane.org; Sun, 17 Jan 2016 05:12:22 +0100
Original-Received: by mail-pf0-f198.google.com with SMTP id n128sf602539083pfn.2
        for <gclcip-std-proposals@m.gmane.org>; Sat, 16 Jan 2016 20:12:21 -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=LfkXMd4OphVKuiK2Do0wtDSYs8GYTHwHM77Y/EK6x+o=;
        b=SdKydi2xUKPiTzIStB7/dzSKCczWcye7lLUodGXY88xgKTQ1+C6uxkQTIqKkisu4++
         uAYVmj91OKKpTrgtjkSMLleU2o0KM80T24asnCvCbxmxA9KxjjzfymQuS7O6VTeBRAtF
         PgBXi6/nJD9bbNkIHl6GKz/uCyjzUbiLQm4K1/ZnDQzvU6e85noLuNhGAglSU92+WRWI
         3eqpOgUi13V1nluzeUFxPE/aY527F+f+dG8gjuJwsDDnRT52G6aBdy0JQ/r8NALdziCM
         e5ADPVvAm3Jr2+MzjkZ4Zh0rjDesO4mIXQr/n0E10WYRHWe8/j70hZQAyST+n2KgJLTS
         sobw==
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=LfkXMd4OphVKuiK2Do0wtDSYs8GYTHwHM77Y/EK6x+o=;
        b=aC2jLkGu8IU3ZoIqa0kklJzAis8d99RSBbEiwz3l3Paz13OvS0LCuJEk0PrDrAHkEt
         trzulrRW9RCTbVKjffhGpzn6Wes2YcgRBmOIrMuRY/ZS5B1bJpA1hVyYiNof6k9EcMx/
         ICgiJJpbn5Bs7qmvBBRrOLAh/StoQYY8jjx7s8lJ/LiN8oFMseUCiMAR82BnEwnqGZ2M
         6Z9ow+jDB9Wn6wVHJdAKKWAPd2Zh/SgGbaSbzKbKeHjr/viz9fsL/ff3hAC33vB2evEz
         xHoWCAd3Wl3A3Iz364879uz1KzCEdiQ/5/B7JrBlMJToJXpS67oWh1ypOn70Ymim8jVA
         BHDg==
X-Gm-Message-State: ALoCoQnCYtWrsM+y9ukbMFELzZyHZNhcHzzi8fQzmhIaUrBxx3hYAghxfx6qPUQiY+NirjJa7DXTvhl+tVgiN+bKeozgUG9ujA==
X-Received: by 10.66.102.69 with SMTP id fm5mr16132067pab.43.1453003940956;
        Sat, 16 Jan 2016 20:12:20 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.29.36 with SMTP id a33ls2238484qga.9.gmail; Sat, 16 Jan
 2016 20:12:18 -0800 (PST)
X-Received: by 10.55.221.66 with SMTP id n63mr22910612qki.64.1453003938942;
        Sat, 16 Jan 2016 20:12:18 -0800 (PST)
Original-Received: from mail-s68.mailgun.info (mail-s68.mailgun.info. [184.173.153.196])
        by mx.google.com with ESMTPS id z4si23147890qhc.92.2016.01.16.20.12.18
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sat, 16 Jan 2016 20:12:18 -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-ig0-f171.google.com (mail-ig0-f171.google.com [209.85.213.171])
 by mxa.mailgun.org with ESMTP id 569b14a2.6a4a1b0-in02;
 Sun, 17 Jan 2016 04:12:18 -0000 (UTC)
Original-Received: by mail-ig0-f171.google.com with SMTP id t15so36136252igr.0
        for <std-proposals@isocpp.org>; Sat, 16 Jan 2016 20:12:18 -0800 (PST)
X-Received: by 10.50.43.228 with SMTP id z4mr5087597igl.27.1453003938338; Sat,
 16 Jan 2016 20:12:18 -0800 (PST)
Original-Received: by 10.79.31.130 with HTTP; Sat, 16 Jan 2016 20:12:18 -0800 (PST)
In-Reply-To: <657cb0a7-4854-41c6-963f-5a11cc677157@isocpp.org>
X-Gmail-Original-Message-ID: <CAGsORuBC6atKs+yAOZCUCCiPHdaQdL9eOon390G2j2W208+pew@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:23757
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/23757>

On Sat, Jan 16, 2016 at 5:38 PM,  <quicknir@gmail.com> wrote:
>
>   SimpleAllocator(const SimpleAllocator&) { std::cerr << "copy\n"; };
>   SimpleAllocator(SimpleAllocator&&) = default;
>   SimpleAllocator& operator=(const SimpleAllocator&) = delete;
>   SimpleAllocator& operator=(SimpleAllocator&&) = default;
>
>   SimpleAllocator select_on_container_copy_construction() const {
>     std::cerr << "blah\n";
>     return SimpleAllocator{};
>   }

There won't be any issue after

  http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2015/p0135r0.html

being accepted.

-- 
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/.

.
