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] {
1277
1277
export std.vector.vector
1278
1278
export std.vector.fwd
1279
1279
}
1280
- module sorted_unique { header "__flat_map/sorted_unique.h" }
1280
+ module sorted_unique {
1281
+ header "__flat_map/sorted_unique.h"
1282
+ export *
1283
+ }
1281
1284
1282
1285
header "flat_set"
1286
+ export std.flat_map.sorted_unique
1283
1287
export *
1284
1288
}
1285
1289
Original file line number Diff line number Diff line change @@ -159,9 +159,9 @@ void test_exception() {
159
159
auto insert_func_iter = [](auto & m, auto key_arg) {
160
160
using FlatSet = std::decay_t <decltype (m)>;
161
161
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_ ; }
165
165
};
166
166
T t (key_arg);
167
167
m.insert (m.begin (), t);
You can’t perform that action at this time.
0 commit comments