is_move_assignable<_Tp>,
is_copy_assignable<_Tp>>;
// trivial types can have deleted assignment
- static_assert( __assignable::type::value, "type is not assignable" );
+ static_assert( __assignable::type::value, "type must be assignable" );
#endif
const ptrdiff_t _Num = __last - __first;
if (_Num)
is_move_assignable<_Tp>,
is_copy_assignable<_Tp>>;
// trivial types can have deleted assignment
- static_assert( __assignable::type::value, "type is not assignable" );
+ static_assert( __assignable::type::value, "type must be assignable" );
#endif
const ptrdiff_t _Num = __last - __first;
if (_Num)
T t[1];
std::copy(t, t+1, result); // { dg-error "here|deleted" }
}
-// { dg-prune-output "not assignable" }
+// { dg-prune-output "type must be assignable" }
// { dg-prune-output "use of deleted" }
T t[1];
std::copy_n(t, 1, result); // { dg-error "here|deleted" }
}
-// { dg-prune-output "not assignable" }
+// { dg-prune-output "type must be assignable" }
// { dg-prune-output "use of deleted" }