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 @@ -1277,9 +1277,13 @@ module std [system] {
12771277 export std.vector.vector
12781278 export std.vector.fwd
12791279 }
1280- module sorted_unique { header "__flat_map/sorted_unique.h" }
1280+ module sorted_unique {
1281+ header "__flat_map/sorted_unique.h"
1282+ export *
1283+ }
12811284
12821285 header "flat_set"
1286+ export std.flat_map.sorted_unique
12831287 export *
12841288 }
12851289
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