Now that std::set has support for __cpp_lib_ranges_to_container we can
activate a test using it in a fancy allocator pointer context.
libstdc++-v3/ChangeLog
* testsuite/23_containers/set/requirements/explicit_instantiation/alloc_ptr.cc:
Activate the template member tests involving __cpp_lib_ranges_to_container
support.
Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
s.merge(m1);
#endif
-#if 0
#ifdef __cpp_lib_ranges_to_container
short arr[2];
__gnu_test::test_input_range<short> r(arr);
std::set<int, std::less<int>, Allocator<int>> s2(std::from_range, r);
std::set<int, std::less<int>, Allocator<int>> s3(std::from_range, r,
Allocator<int>{});
- s2.insert_range(s2.begin(), r);
-#endif
+ s2.insert_range(r);
#endif
}