Topic: [std-proposals] [N4532] default operator== and is_u
Author: "Vicente J. Botet Escriba" <vicente.botet@wanadoo.fr>
Date: Sat, 23 Jan 2016 18:00:24 +0100
Raw View
This is a multi-part message in MIME format.
--------------000308080803010906050205
Content-Type: text/plain; charset=UTF-8; format=flowed
Hi,
I was wondering if the default generation for operator==() in N4475 and
N4532 couldn't be defined depending on the trait is_uniquely_represented<T>?
If is_uniquely_represented<T> and the implicit declaration for
operator== is enabled, couldn't the comparison operators definition make
use of memcmp?
Best,
Vicente
--
---
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/.
--------------000308080803010906050205
Content-Type: text/html; charset=UTF-8
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="+1">Hi,<br>
<br>
I was wondering if the default generation for operator==() in
N4475 and N4532 couldn't be defined depending on the trait
is_uniquely_represented<T>?<br>
<br>
If </font><font size="+1"><font size="+1">is_uniquely_represented<T>
and the implicit declaration for operator== is enabled, couldn't
the comparison operators definition make use of memcmp? </font><br>
<br>
Best,<br>
Vicente<br>
</font>
</body>
</html>
<p></p>
-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:std-proposals+unsubscribe@isocpp.org">std-proposals+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href="mailto:std-proposals@isocpp.org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href="https://groups.google.com/a/isocpp.org/group/std-proposals/">https://groups.google.com/a/isocpp.org/group/std-proposals/</a>.<br />
--------------000308080803010906050205--
.