Title
<flat_set> should include <compare>
Status
c++23
Section
[flat.set.syn]
Submitter
Jiang An

Created on 2022-09-12.00:00:00 last changed 13 months ago

Messages

Date: 2022-11-17.00:42:33

Proposed resolution:

This wording is relative to n4917.

  1. Modify the synopsis in [flat.set.syn] as indicated:

    #include <compare>              // see [compare.syn]
    #include <initializer_list>     // see [initializer.list.syn]
    
Date: 2022-11-12.00:00:00

[ 2022-11-12 Approved at November 2022 meeting in Kona. Status changed: Voting → WP. ]

Date: 2022-09-15.00:00:00

[ 2022-09-23; Reflector poll ]

Set status to Tentatively Ready after eight votes in favour during reflector poll.

Date: 2022-09-12.00:00:00

This was originally editorial PR #5789 which is considered not-editorial.

std::flat_set and std::flat_multiset have operator<=> so <compare> should be included in the corresponding header, in the spirit of LWG 3330. #include <compare> is also missing in the adopted paper P1222R4.

History
Date User Action Args
2023-11-22 15:47:43adminsetstatus: wp -> c++23
2022-11-17 00:42:33adminsetmessages: + msg13075
2022-11-17 00:42:33adminsetstatus: voting -> wp
2022-11-08 03:46:49adminsetstatus: ready -> voting
2022-09-23 15:43:32adminsetmessages: + msg12793
2022-09-23 15:43:32adminsetstatus: new -> ready
2022-09-12 10:41:48adminsetmessages: + msg12763
2022-09-12 00:00:00admincreate