220 8330 <52C456C5.8000407@gmail.com> article
Path: news.gmane.org!not-for-mail
From: Matthew Woehlke <mwoehlke.floss@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Proposal: Default swap operation
Date: Wed, 01 Jan 2014 12:56:21 -0500
Lines: 45
Approved: news@gmane.org
Message-ID: <52C456C5.8000407@gmail.com>
References: <c505e517-1c73-4486-b9dd-9ec15af1e649@isocpp.org> <CAPBZbvxzF1pgzaa=A5KfWDTeX7o0epwWiH5+YES+7u4eX2SG0Q@mail.gmail.com> <68012381-8af4-4d62-a5a4-912c454fba96@isocpp.org> <52C4339B.20701@gmail.com> <-414611097405781448@gmail297201516>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Trace: ger.gmane.org 1388598978 10432 80.91.229.3 (1 Jan 2014 17:56:18 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 1 Jan 2014 17:56:18 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC37LBFWUIFBBRVNSGLAKGQE476GM3I@isocpp.org Wed Jan 01 18:56:24 2014
Return-path: <std-proposals+bncBC37LBFWUIFBBRVNSGLAKGQE476GM3I@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ig0-f200.google.com ([209.85.213.200])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC37LBFWUIFBBRVNSGLAKGQE476GM3I@isocpp.org>)
	id 1VyQ1o-0007mt-FR
	for gclcip-std-proposals@m.gmane.org; Wed, 01 Jan 2014 18:56:24 +0100
Original-Received: by mail-ig0-f200.google.com with SMTP id k19sf59281841igc.3
        for <gclcip-std-proposals@m.gmane.org>; Wed, 01 Jan 2014 09:56:23 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to
         :subject:references:in-reply-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=NqF9spTgHJEQBLRJWguEzculeE0DcGjbtcDnO+lNqdY=;
        b=TRE/GX8wSzjFzCcQ9BJQjGEpER6L9Zt6SKYcL3yTqvuop+yMR7Ild6QysbVbBj7HRh
         r9jT4xBuo0Hon/EeUaoNvwBO1McYrn6DGifkw5yHT9HGt6rn57YUPBXFDK6ddYe/6u1m
         K8j9AtK2E5gA8WZ29oBv1gU65zKMtrHD5R3nVWM/NRyQ041gw3dOPYzHROAQvC6iYOAB
         kEL4mEsDwZzI7nsegnwC7ufek2Hcr07LJVcmGGYomVL/xJ3WeE7C0sYFQGLQeMaLigR/
         YSRXK9raA0g7H3Ve40pBMPV+GYne2Cq01PadNFO58icnhiEmRV1IrauhLVeOoXTtel6T
         Jmlw==
X-Gm-Message-State: ALoCoQmBBZc6OsRnEtVEH8XSfeu3owDt9O/V3hUVh5CaoqG2DRVUK8VOrAuJ3Eapl5IXiRmrMQvD
X-Received: by 10.42.64.74 with SMTP id f10mr13724651ici.12.1388598983414;
        Wed, 01 Jan 2014 09:56:23 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.49.49.70 with SMTP id s6ls4313367qen.34.gmail; Wed, 01 Jan
 2014 09:56:22 -0800 (PST)
X-Received: by 10.224.34.136 with SMTP id l8mr130442381qad.101.1388598982800;
        Wed, 01 Jan 2014 09:56:22 -0800 (PST)
Original-Received: from mail-ig0-x236.google.com (mail-ig0-x236.google.com [2607:f8b0:4001:c05::236])
        by mx.google.com with ESMTPS id f4si22465693qcs.48.2014.01.01.09.56.22
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Wed, 01 Jan 2014 09:56:22 -0800 (PST)
Received-SPF: pass (google.com: domain of mwoehlke.floss@gmail.com designates 2607:f8b0:4001:c05::236 as permitted sender) client-ip=2607:f8b0:4001:c05::236;
Original-Received: by mail-ig0-f182.google.com with SMTP id c10so32106331igq.3
        for <std-proposals@isocpp.org>; Wed, 01 Jan 2014 09:56:22 -0800 (PST)
X-Received: by 10.50.4.9 with SMTP id g9mr68306351igg.22.1388598982320;
        Wed, 01 Jan 2014 09:56:22 -0800 (PST)
Original-Received: from [192.168.1.181] (tripoint.kitware.com. [66.194.253.20])
        by mx.google.com with ESMTPSA id v2sm68234363igz.3.2014.01.01.09.56.21
        for <multiple recipients>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Wed, 01 Jan 2014 09:56:21 -0800 (PST)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
In-Reply-To: <-414611097405781448@gmail297201516>
X-Original-Sender: mwoehlke.floss@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of mwoehlke.floss@gmail.com designates 2607:f8b0:4001:c05::236 as
 permitted sender) smtp.mail=mwoehlke.floss@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:8330
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/8330>

On 2014-01-01 11:41, Philipp Maximilian Stephani wrote:
> On Wed Jan 01 2014 at 16:26:22, Matthew Woehlke <mwoehlke.floss@gmail.com>
> wrote:
>
>> Related to that note, I wonder if we should allow e.g.:
>>
>> foo.h
>> -----
>> class Foo
>> {
>>     ...
>>     ~Foo();
>>     ...
>> }
>>
>> foo.cpp
>> -------
>>
>> Foo::~Foo() = default;
>>
>>
>> IOW, allow uses of '= default' after declaration, to allow the compiler
>> to emit the default implementation at the source level rather than the
>> header level.
>>
>
> Huh? I'm pretty sure this is already allowed.

Hmm... gcc at least seems to allow it :-D. I guess I assumed it wasn't, 
as I cant recall that any of the 'what's new in C++11' I've read 
mentioned it...

Well, that's pretty nice.

-- 
Matthew

-- 

--- 
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/.

.
