The subject test includes this function:
void test_for_non_eager_instantiation() {
// Ensure we don’t accidentally instantiate
std::basic_string<Nonsense>
// since it may not be well formed and can cause an error in the
// non-immediate context.
static_assert(!std::is_constructible<std::bitset<3>, Nonsense*>::value, “”);
static_assert(!std::is_constructible<std::bitset<3>, Nonsense*, size_t, Nonsense&, Nonsense&>::value, “”);
}
which requires nonstandard behavior. Should these assertions be libc+±specific? (Should someone file an LWG issue to standardize the expected behavior?)