Lines Matching defs:allocator_traits
131 struct allocator_traits struct
134 typedef Allocator allocator_type;
136 typedef typename allocator_type::value_type value_type;
141 typedef unspecified pointer;
144 typedef see_documentation const_pointer;
147 typedef see_documentation reference;
150 typedef see_documentation const_reference;
153 typedef see_documentation void_pointer;
156 typedef see_documentation const_void_pointer;
159 typedef see_documentation difference_type;
162 typedef see_documentation size_type;
165 typedef see_documentation propagate_on_container_copy_assignment;
168 typedef see_documentation propagate_on_container_move_assignment;
171 typedef see_documentation propagate_on_container_swap;
174 typedef see_documentation is_always_equal;
178 typedef see_documentation is_partially_propagable;
185 template <class T> using rebind_alloc = see_documentation;
190 template <class T> using rebind_traits = allocator_traits<rebind_alloc<T> >;
195 struct portable_rebind_alloc
201 pointer;
206 const_pointer;
210 reference;
214 const_reference;
219 void_pointer;
224 const_void_pointer;
228 difference_type;
232 size_type;
236 propagate_on_container_copy_assignment;
240 propagate_on_container_move_assignment;
244 propagate_on_container_swap;
248 is_always_equal;
252 is_partially_propagable;
257 …e <typename T> using rebind_alloc = typename boost::intrusive::pointer_rebind<Allocator, T>::type;
258 template <typename T> using rebind_traits = allocator_traits< rebind_alloc<T> >;
262 struct rebind_alloc : boost::intrusive::pointer_rebind<Allocator,T>::type
279 struct rebind_traits
286 struct portable_rebind_alloc
292 BOOST_CONTAINER_FORCEINLINE static pointer allocate(Allocator &a, size_type n) in allocate()
298 BOOST_CONTAINER_FORCEINLINE static void deallocate(Allocator &a, pointer p, size_type n) in deallocate()
303 …OOST_CONTAINER_FORCEINLINE static pointer allocate(Allocator &a, size_type n, const_void_pointer p) in allocate()
315 BOOST_CONTAINER_FORCEINLINE static void destroy(Allocator &a, T*p) BOOST_NOEXCEPT_OR_NOTHROW in destroy()
327 …BOOST_CONTAINER_FORCEINLINE static size_type max_size(const Allocator &a) BOOST_NOEXCEPT_OR_NOTHROW in max_size()
336 BOOST_CONTAINER_FORCEINLINE static BOOST_CONTAINER_DOC1ST(Allocator, in BOOST_CONTAINER_DOC1ST()
352 …BOOST_CONTAINER_FORCEINLINE static void construct(Allocator & a, T* p, BOOST_FWD_REF(Args)... args) in construct()
366 …INLINE static bool storage_is_unpropagable(const Allocator &a, pointer p) BOOST_NOEXCEPT_OR_NOTHROW in storage_is_unpropagable()
374 …NER_FORCEINLINE static bool equal(const Allocator &a, const Allocator &b) BOOST_NOEXCEPT_OR_NOTHROW in equal()
382 …NLINE static pointer priv_allocate(dtl::true_type, Allocator &a, size_type n, const_void_pointer p) in priv_allocate()
385 …INLINE static pointer priv_allocate(dtl::false_type, Allocator &a, size_type n, const_void_pointer) in priv_allocate()
389 …_FORCEINLINE static void priv_destroy(dtl::true_type, Allocator &a, T* p) BOOST_NOEXCEPT_OR_NOTHROW in priv_destroy()
393 …_FORCEINLINE static void priv_destroy(dtl::false_type, Allocator &, T* p) BOOST_NOEXCEPT_OR_NOTHROW in priv_destroy()
396 …INLINE static size_type priv_max_size(dtl::true_type, const Allocator &a) BOOST_NOEXCEPT_OR_NOTHROW in priv_max_size()
399 …INLINE static size_type priv_max_size(dtl::false_type, const Allocator &) BOOST_NOEXCEPT_OR_NOTHROW in priv_max_size()
402 …INE static Allocator priv_select_on_container_copy_construction(dtl::true_type, const Allocator &a) in priv_select_on_container_copy_construction()
405 …elect_on_container_copy_construction(dtl::false_type, const Allocator &a) BOOST_NOEXCEPT_OR_NOTHROW in priv_select_on_container_copy_construction()
410 …EINLINE static void priv_construct(dtl::true_type, Allocator &a, T *p, BOOST_FWD_REF(Args) ...args) in priv_construct()
414 …EINLINE static void priv_construct(dtl::false_type, Allocator &, T *p, BOOST_FWD_REF(Args) ...args) in priv_construct()
448 BOOST_MOVE_ITERATE_0TO8(BOOST_CONTAINER_ALLOCATOR_TRAITS_PRIV_CONSTRUCT_IMPL) in BOOST_MOVE_ITERATE_0TO8()
457 …FORCEINLINE static bool priv_storage_is_unpropagable(dtl::true_type, const Allocator &a, pointer p) in priv_storage_is_unpropagable()
460 …R_FORCEINLINE static bool priv_storage_is_unpropagable(dtl::false_type, const Allocator &, pointer) in priv_storage_is_unpropagable()
463 …CONTAINER_FORCEINLINE static bool priv_equal(dtl::true_type, const Allocator &, const Allocator &) in priv_equal()
466 …NTAINER_FORCEINLINE static bool priv_equal(dtl::false_type, const Allocator &a, const Allocator &b) in priv_equal()