diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 9636bd7f47f..f96cf7a8e84 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2012-11-19 Jonathan Wakely + + * testsuite/20_util/allocator/requirements/typedefs.cc: Check rebind + and improve propagate_on_container_move_assignment check. + 2012-11-19 Jonathan Wakely * include/bits/stl_algo.h (reverse_copy): Update comment per DR 2074. diff --git a/libstdc++-v3/testsuite/20_util/allocator/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/allocator/requirements/typedefs.cc index 37d5032ad80..78536de7b42 100644 --- a/libstdc++-v3/testsuite/20_util/allocator/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/allocator/requirements/typedefs.cc @@ -42,5 +42,10 @@ static_assert( is_same::const_reference, const int&>::value, static_assert( is_same::value_type, int>::value, "value_type" ); -static_assert( allocator::propagate_on_container_move_assignment::value, - "propagate_on_container_move_assignment is true" ); +static_assert( is_same::rebind::other, + allocator>::value, + "rebind::other" ); + +static_assert( is_same::propagate_on_container_move_assignment, + std::true_type>::value, + "propagate_on_container_move_assignment" );