19 #ifndef INCLUDED_RTL_ALLOCATOR_HXX
20 #define INCLUDED_RTL_ALLOCATOR_HXX
46 typedef const T* const_pointer;
48 typedef const T& const_reference;
49 typedef ::std::size_t size_type;
50 typedef ::std::ptrdiff_t difference_type;
56 typedef Allocator<U> other;
60 pointer address (reference value)
const
66 const_pointer address (const_reference value)
const
91 return size_type(-1)/
sizeof(T);
117 return reinterpret_cast<pointer
>(
128 void construct (pointer p,
const T& value)
130 new ((
void*)p)T(value);
134 void destroy (pointer p)
146 template<
class T,
class U>
inline bool operator ==(
153 template<
class T,
class U>
167 template<
class T,
class U>
168 inline ::rtl::Allocator<U> & __stl_alloc_rebind (::rtl::Allocator<T> & a, U
const *)
170 return (::rtl::Allocator<U>&)(a);