Title
The relational operators of optional and variant completely reflect the semantics of the element types — this is inconsistent with other types in the library
Status
lewg
Section
[containers][utilities]
Submitter
Finland

Created on 2017-02-03.00:00:00 last changed 89 months ago

Messages

Date: 2017-07-15.23:15:19

[ 2017-07 Toronto Thurs Issue Prioritization ]

Move to LEWG

Date: 2017-02-03.00:00:00
Addresses FI 17

The relational operators of optional and variant completely reflect the semantics of the element types; this is inconsistent with other types in the library, like pair, tuple and containers. If we believe it's important that we don't synthesize relational operators for wrapper types, we should believe it's important for other types as well. Otherwise comparing containers of floating-point types and tuples/pairs etc. of floating point types will give incorrect answers.

Proposed change: Make the relational operators of containers and utility components reflect the semantics of the operators for the underlying element types.

History
Date User Action Args
2017-07-15 23:15:19adminsetmessages: + msg9389
2017-07-15 23:15:19adminsetstatus: new -> lewg
2017-02-03 00:00:00admincreate