Topic: D0198R0- Default Swap proposal - last revision before submission


Author: "Vicente J. Botet Escriba" <vicente.botet@wanadoo.fr>
Date: Sat, 23 Jan 2016 18:26:00 +0100
Raw View
This is a multi-part message in MIME format.
--------------050107020908030404060809
Content-Type: text/plain; charset=UTF-8; format=flowed

Hi,

I've finally separated the Default swap-hash original proposal as
suggest in this ML [1]. Clearly the conditions are not the same at all.
For those that are not aware of the proposal, here it is the abstract

    Defining swap as copy/move constructor/assignment operators, for
    simple classes is tedious, repetitive, slightly error-prone, and
    easily automated.

    I propose to (implicitly) supply default version of this operation
    by the compiler, if needed. The meaning swap is to swap each member.




You can find the last version of Default Swap at [1].

Any comment are really welcome.
Vicente

[1]
https://github.com/viboes/std-make/blob/master/doc/proposal/reflection/P0198R0.md


--

---
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/.

--------------050107020908030404060809
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>

    <meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf-8=
">
  </head>
  <body bgcolor=3D"#FFFFFF" text=3D"#000000">
    <font size=3D"+1">Hi,<br>
      <br>
    </font><font size=3D"+1">I've finally separated the Default swap-hash
      original proposal as suggest in this ML [1]. Clearly the
      conditions are not the same at all. </font><br>
    <font size=3D"+1"><font size=3D"+1">For those that are not aware of the
        proposal, here it is the abstract<br>
        <br>
      </font></font>
    <blockquote><font size=3D"+1"><font size=3D"+1">Defining swap as
          copy/move constructor/assignment operators, for simple classes
          is tedious, repetitive, slightly error-prone, and easily
          automated.</font></font><br>
      <br>
      <font size=3D"+1"><font size=3D"+1">I propose to (implicitly) supply
          default version of this operation by the compiler, if needed.
          The meaning swap is to swap each member.</font></font><br>
    </blockquote>
    <font size=3D"+1"><font size=3D"+1"><br>
        <br>
      </font></font><br>
    <font size=3D"+1"><font size=3D"+1">You can find the last version of
        Default Swap at [1].</font><br>
      <font size=3D"+1">=C2=A0<br>
        Any comment are really welcome.</font><br>
      Vicente<br>
      <br>
      [1]
<a class=3D"moz-txt-link-freetext" href=3D"https://github.com/viboes/std-ma=
ke/blob/master/doc/proposal/reflection/P0198R0.md">https://github.com/viboe=
s/std-make/blob/master/doc/proposal/reflection/P0198R0.md</a><br>
      <br>
      <br>
    </font>
  </body>
</html>

<p></p>

-- <br />
<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 <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"https://groups.google.com/a/isocpp.org/group=
/std-proposals/">https://groups.google.com/a/isocpp.org/group/std-proposals=
/</a>.<br />

--------------050107020908030404060809--

.