Title
N4126, N4114, N3950 Defaulted comparison operators, N4175 Default comparisons, N4176 Thoughts about Comparisons, N4239 Defaulted Comparison Using Reflection
Status
open
Section
[dcl.fct.def.default]
Submitter
Oleg Smolsky, Bjarne Stroustrup, Andrew Tomazos, Mike Spertus

Created on 2014-02-19.00:00:00, last changed 2014-02-19.00:00:00.

Messages

Date: 2014-11-21.17:12:23

http://open-std.org/JTC1/SC22/WG21/docs/papers/2014/n4239.pdf

http://open-std.org/JTC1/SC22/WG21/docs/papers/2014/n4126.htm

http://open-std.org/JTC1/SC22/WG21/docs/papers/2014/n4175.pdf

http://open-std.org/JTC1/SC22/WG21/docs/papers/2014/n4176.pdf

http://open-std.org/JTC1/SC22/WG21/docs/papers/2014/n4114.htm

http://open-std.org/JTC1/SC22/WG21/docs/papers/2014/n3950.html

Discussed in Rapperswil 2014.

Straw polls:

Proposal + the ability to default as global

SF: 10 F: 9 N: 2 A: 1 SA: 0

Proposal + the ability to default as global + the generation of negated operators

SF: 5 F: 9 N: 3 A: 1 SA: 2

Terse syntaxes only

SF: 7 F: 2 N: 4 A: 8 SA: 1

Terse syntaxes in addition

SF: 6 F: 6 N: 5 A: 4 SA: 1

Library solution

SF: 0 F: 0 N: 1 A: 12 SA: 7

Mutable members are not special (participate in the comparisons)

SF: 2 F: 6 N: 2 A: 5 SA: 6

Mutable members make defaulting ill-formed

SF: 3 F: 7 N: 6 A: 3 SA: 1

Mutable members do not participate in generated comparisons

SF: 7 F: 3 N: 0 A: 7 SA: 4

Proposal + the ability to default as global + mutables ill-formed

SF: 12 F: 7 N: 0 A: 1 SA: 2

The guidance of the vote is not very clear, but what seems clear is that EWG more or less encouraged the paper author to come up with a revised proposal.

Discussed in Urbana. EWG voiced preference towards an opt-in approach.

History
Date User Action Args
2014-02-19 00:00:00admincreate