220 8328 <-414611097405781448@gmail297201516> article
Path: news.gmane.org!not-for-mail
From: Philipp Maximilian Stephani <p.stephani2@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Proposal: Default swap operation
Date: Wed, 01 Jan 2014 16:41:24 +0000
Lines: 85
Approved: news@gmane.org
Message-ID: <-414611097405781448@gmail297201516>
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>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=001a11c3560c073fb004eeeb5909
X-Trace: ger.gmane.org 1388594483 31142 80.91.229.3 (1 Jan 2014 16:41:23 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 1 Jan 2014 16:41:23 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBD35NAXJW4GBBNMKSGLAKGQESATPDEA@isocpp.org Wed Jan 01 17:41:30 2014
Return-path: <std-proposals+bncBD35NAXJW4GBBNMKSGLAKGQESATPDEA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-bk0-f72.google.com ([209.85.214.72])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBD35NAXJW4GBBNMKSGLAKGQESATPDEA@isocpp.org>)
	id 1VyOrH-0003LI-9d
	for gclcip-std-proposals@m.gmane.org; Wed, 01 Jan 2014 17:41:27 +0100
Original-Received: by mail-bk0-f72.google.com with SMTP id mx13sf23909387bkb.7
        for <gclcip-std-proposals@m.gmane.org>; Wed, 01 Jan 2014 08:41:26 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version: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:content-type;
        bh=VkHh6cNOlaXvo066NFbAmtuBC4Ge95OQg5i2Ehczh84=;
        b=dSxXzPgqIo4QHLcsACC/Rq6PFC5SA34O6yGGOVSZu0p0Q6uXbtdKEI9U4PbgismFZi
         jr19zppehQS8ACdTMq522b2pebYsD1m9laqiTEDhrudy8XYQ75UF1qqvUDiK5GxFP9Ex
         s4Rz/6mDcAhlkKnEId0ftun8HZ0XYjwrO6/IiRa54mYfROD+E1sqQZRREKxLYrKjUE7g
         /sZEcxpZpF5F3RP8dBEwEeV7JaS3iW1B2pZRPPFZaJRiA35+C+mx6D3pr/avqwortq4Q
         LFlri6Vc2+u1e9027mxEoTYwspIdOalsQ40yA0+ufYEylPAEavcijDOfFwdNAkGIXHVE
         ojTA==
X-Gm-Message-State: ALoCoQkfscTHU1zqXt93wynogw8johoVqGXmkEnidnMMlJ8p3X5NIFxuNTfZFX5CYSmBxy+LbMNi
X-Received: by 10.152.4.229 with SMTP id n5mr975649lan.10.1388594486517;
        Wed, 01 Jan 2014 08:41:26 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.180.109.33 with SMTP id hp1ls1757270wib.50.gmail; Wed, 01 Jan
 2014 08:41:25 -0800 (PST)
X-Received: by 10.205.98.69 with SMTP id cn5mr480882bkc.70.1388594485587;
        Wed, 01 Jan 2014 08:41:25 -0800 (PST)
Original-Received: from mail-lb0-x22d.google.com (mail-lb0-x22d.google.com [2a00:1450:4010:c04::22d])
        by mx.google.com with ESMTPS id ln4si16988004bkb.100.2014.01.01.08.41.25
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Wed, 01 Jan 2014 08:41:25 -0800 (PST)
Received-SPF: pass (google.com: domain of p.stephani2@gmail.com designates 2a00:1450:4010:c04::22d as permitted sender) client-ip=2a00:1450:4010:c04::22d;
Original-Received: by mail-lb0-f173.google.com with SMTP id z5so6922142lbh.32
        for <std-proposals@isocpp.org>; Wed, 01 Jan 2014 08:41:25 -0800 (PST)
X-Received: by 10.152.87.142 with SMTP id ay14mr31660586lab.7.1388594485213;
 Wed, 01 Jan 2014 08:41:25 -0800 (PST)
X-Original-Sender: p.stephani2@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of p.stephani2@gmail.com designates 2a00:1450:4010:c04::22d as
 permitted sender) smtp.mail=p.stephani2@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:8328
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/8328>

--001a11c3560c073fb004eeeb5909
Content-Type: text/plain; charset=ISO-8859-1

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.

-- 

--- 
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/.

--001a11c3560c073fb004eeeb5909
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div>On Wed Jan 01 2014 at 16:26:22, Matthew Woehlke &lt;<a href=3D=
"mailto:mwoehlke.floss@gmail.com">mwoehlke.floss@gmail.com</a>&gt; wrote:</=
div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-lef=
t:1px #ccc solid;padding-left:1ex">
Related to that note, I wonder if we should allow e.g.:<br>
<br>
foo.h<br>
-----<br>
class Foo<br>
{<br>
=A0 =A0...<br>
=A0 =A0~Foo();<br>
=A0 =A0...<br>
}<br>
<br>
foo.cpp<br>
-------<br>
<br>
Foo::~Foo() =3D default;<br>
<br>
<br>
IOW, allow uses of &#39;=3D default&#39; after declaration, to allow the co=
mpiler<br>
to emit the default implementation at the source level rather than the<br>
header level.<br></blockquote><div><br></div><div>Huh? I&#39;m pretty sure =
this is already allowed.=A0</div>

<p></p>

-- <br />
&nbsp;<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 std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<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 />

--001a11c3560c073fb004eeeb5909--

.
