Topic: D0199R0- Default Hash proposal - last revision before submission
Author: "Vicente J. Botet Escriba" <vicente.botet@wanadoo.fr>
Date: Sat, 23 Jan 2016 18:26:04 +0100
Raw View
This is a multi-part message in MIME format.
--------------040505070204080505010902
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 hash_value or specializing is_uniquely_represented as
defined in P0029R0 for simple classes is tedious, repetitive,
slightly error-prone, and easily automated.
I propose to (implicitly) supply default version of this operation
and trait, if needed. The meaning of hash_value is to combine the
members using hash_combine.
You can find the last version of Default Hash at [1].
Any comment are really welcome.
Vicente
[1]
https://github.com/viboes/std-make/blob/master/doc/proposal/reflection/P0199R0.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/.
--------------040505070204080505010902
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">Defining hash_value or specializing
is_uniquely_represented as defined in P0029R0 for simple classes
is tedious, repetitive, slightly error-prone, and easily
automated.<br>
<br>
I propose to (implicitly) supply default version of this
operation </font><font size=3D"+1">and trait, if needed. The
meaning of hash_value is to combine the members using
hash_combine.<br>
<font size=3D"+1"></font></font><br>
</blockquote>
<font size=3D"+1"><font size=3D"+1"> </font></font>
<font size=3D"+1"><font size=3D"+1">You can find the last version of
Default Hash at [1].</font><br>
<font size=3D"+1">=C2=A0<br>
Any comment are really welcome.</font><br>
<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/P0199R0.md">https://github.com/viboe=
s/std-make/blob/master/doc/proposal/reflection/P0199R0.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" 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 />
--------------040505070204080505010902--
.