sparrow 0.9.0
|
#include <allocator.hpp>
Public Types | |
using | value_type = T |
template<allocator A> | |
using | allocator_value_type = typename std::allocator_traits<std::decay_t<A>>::value_type |
Public Member Functions | |
constexpr | any_allocator () |
constexpr | any_allocator (const any_allocator &rhs) |
constexpr | any_allocator (any_allocator &&) noexcept |
constexpr any_allocator & | operator= (const any_allocator &rhs)=delete |
constexpr any_allocator & | operator= (any_allocator &&rhs)=delete |
template<class A> requires ( not std::same_as<std::remove_cvref_t<A>, any_allocator> and allocator<A> and std::same_as<allocator_value_type<A>, T> ) | |
constexpr | any_allocator (A &&alloc) |
constexpr T * | allocate (std::size_t n) |
constexpr void | deallocate (T *p, std::size_t n) |
constexpr any_allocator | select_on_container_copy_construction () const |
constexpr bool | equal (const any_allocator &rhs) const |
Definition at line 64 of file allocator.hpp.
using sparrow::any_allocator< T >::allocator_value_type = typename std::allocator_traits<std::decay_t<A>>::value_type |
Definition at line 71 of file allocator.hpp.
using sparrow::any_allocator< T >::value_type = T |
Definition at line 68 of file allocator.hpp.
|
constexpr |
|
constexpr |
|
constexprnoexcept |
|
inlineconstexpr |
|
nodiscardconstexpr |
Definition at line 231 of file allocator.hpp.
|
constexpr |
Definition at line 252 of file allocator.hpp.
|
nodiscardconstexpr |
Definition at line 277 of file allocator.hpp.
|
constexprdelete |
|
constexprdelete |
|
nodiscardconstexpr |