OSDN Git Service

2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Jul 2011 12:48:32 +0000 (12:48 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Jul 2011 12:48:32 +0000 (12:48 +0000)
commit3f506c52a4bbb227cb7b1ce1b6aa577a2f936745
tree0680cdacce29323ecc1d72d49a0c17b0542ffa56
parent4ba0945fbff12d248826a9d4247194c964fb3586
2011-07-09  Jonathan Wakely  <jwakely.gcc@gmail.com>

* include/ext/alloc_traits.h (__allocator_always_compares_equal): New
trait, provide partial specializations for known allocators.
(__alloc_traits::construct, __alloc_traits::destroy): Overload for
non-standard pointer types.
(__alloc_traits::_S_always_equal): New trait for use with noexcept.
(__alloc_traits::_S_nothrow_move): Likewise.
(__alloc_traits::_S_nothrow_swap): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176077 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/alloc_traits.h