alloc_traits.h (__allocator_always_compares_equal): New trait, provide partial specia...
authorJonathan Wakely <jwakely.gcc@gmail.com>
Sat, 9 Jul 2011 12:48:32 +0000 (12:48 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sat, 9 Jul 2011 12:48:32 +0000 (13:48 +0100)
commitd526242cd8b91c314769b920b7e24a457f7f585e
tree0680cdacce29323ecc1d72d49a0c17b0542ffa56
parenteece716393ff479e198c46221726701b7380ca4f
alloc_traits.h (__allocator_always_compares_equal): New trait, provide partial specializations for known allocators.

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.

From-SVN: r176077
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/alloc_traits.h