Skip to content
Snippets Groups Projects
Commit d526242c authored by Jonathan Wakely's avatar Jonathan Wakely Committed by Jonathan Wakely
Browse files

alloc_traits.h (__allocator_always_compares_equal): New trait, provide partial...

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
parent eece7163
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment