File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
test/std/containers/container.adaptors/flat.set/flat.set.modifiers Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -1292,9 +1292,13 @@ module std [system] {
12921292 export std.vector.vector
12931293 export std.vector.fwd
12941294 }
1295- module sorted_unique { header "__flat_map/sorted_unique.h" }
1295+ module sorted_unique {
1296+ header "__flat_map/sorted_unique.h"
1297+ export *
1298+ }
12961299
12971300 header "flat_set"
1301+ export std.flat_map.sorted_unique
12981302 export *
12991303 }
13001304
Original file line number Diff line number Diff line change @@ -159,9 +159,9 @@ void test_exception() {
159159 auto insert_func_iter = [](auto & m, auto key_arg) {
160160 using FlatSet = std::decay_t <decltype (m)>;
161161 struct T {
162- typename FlatSet::key_type key ;
163- T (typename FlatSet::key_type key) : key (key) {}
164- operator typename FlatSet::value_type () const { return key ; }
162+ typename FlatSet::key_type key_ ;
163+ T (typename FlatSet::key_type key) : key_ (key) {}
164+ operator typename FlatSet::value_type () const { return key_ ; }
165165 };
166166 T t (key_arg);
167167 m.insert (m.begin (), t);
You can’t perform that action at this time.
0 commit comments