sparrow 0.3.0
|
#include <allocator.hpp>
Public Types | |
using | value_type = T |
Public Member Functions | |
any_allocator () | |
any_allocator (const any_allocator &rhs) | |
any_allocator (any_allocator &&)=default | |
any_allocator & | operator= (const any_allocator &rhs)=delete |
any_allocator & | operator= (any_allocator &&rhs)=delete |
template<class A> requires (not std::same_as<std::remove_cvref_t<A>, any_allocator> and sparrow::allocator<A>) | |
any_allocator (A &&alloc) | |
T * | allocate (std::size_t n) |
void | deallocate (T *p, std::size_t n) |
any_allocator | select_on_container_copy_construction () const |
bool | equal (const any_allocator &rhs) const |
Definition at line 64 of file allocator.hpp.
using sparrow::any_allocator< T >::value_type = T |
Definition at line 68 of file allocator.hpp.
sparrow::any_allocator< T >::any_allocator | ( | ) |
sparrow::any_allocator< T >::any_allocator | ( | const any_allocator< T > & | rhs | ) |
|
default |
|
inline |
|
nodiscard |
Definition at line 210 of file allocator.hpp.
void sparrow::any_allocator< T >::deallocate | ( | T * | p, |
std::size_t | n ) |
Definition at line 232 of file allocator.hpp.
|
nodiscard |
Definition at line 256 of file allocator.hpp.
|
delete |
|
delete |
|
nodiscard |