Title
Relational operators for containers should sfinae; if the underlying type is not comparable, neither should the container be
Status
nad
Section
[containers][utilities]
Submitter
Finland

Created on 2017-02-03.00:00:00 last changed 2 days ago

Messages

Date: 2026-06-09.13:59:08

[ Brno 2026-06-09 Status changed: LEWG → NAD. ]

LEWG recommended closing as NAD. This is difficult in general because of support for incomplete types in some containers.

Date: 2025-10-15.00:00:00

[ 2025-10-21; Priority set to 4 based on age of issue and lack of activity. ]

Date: 2017-06-27.00:00:00

[ 2017-06-27 Moved to LEWG after 5 positive votes on c++std-lib. ]

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

Relational operators for containers should sfinae; if the underlying type is not comparable, neither should the container be. Same applies to tuple and pair.

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

History
Date User Action Args
2026-06-09 13:59:08adminsetmessages: + msg16378
2026-06-09 13:59:08adminsetstatus: lewg -> nad
2025-10-21 15:20:04adminsetmessages: + msg15331
2017-06-27 21:09:58adminsetmessages: + msg9303
2017-06-27 21:09:58adminsetstatus: new -> lewg
2017-02-03 00:00:00admincreate