1#ifndef ZSERIO_ALLOCATOR_HOLDER_H_INC
2#define ZSERIO_ALLOCATOR_HOLDER_H_INC
13template <typename ALLOC, bool EMPTY = std::is_empty<ALLOC>::value>
32 m_allocator(allocator)
41 m_allocator(
std::move(allocator))
77 m_allocator = allocator;
87 m_allocator = std::move(allocator);
118template <
typename ALLOC>
void set_allocator(allocator_type &&)
AllocatorHolder & operator=(const AllocatorHolder &other)=default
allocator_type get_allocator_ref() const
AllocatorHolder & operator=(AllocatorHolder &&other)=default
AllocatorHolder(AllocatorHolder &&other)=default
AllocatorHolder()=default
AllocatorHolder(const allocator_type &)
~AllocatorHolder()=default
AllocatorHolder(const AllocatorHolder &other)=default
allocator_type get_allocator() const
void set_allocator(const allocator_type &)
allocator_type get_allocator() const
AllocatorHolder(AllocatorHolder &&other)=default
const allocator_type & get_allocator_ref() const
AllocatorHolder(allocator_type &&allocator)
AllocatorHolder & operator=(const AllocatorHolder &other)=default
~AllocatorHolder()=default
void set_allocator(const allocator_type &allocator)
AllocatorHolder & operator=(AllocatorHolder &&other)=default
void set_allocator(allocator_type &&allocator)
AllocatorHolder(const allocator_type &allocator)
AllocatorHolder(const AllocatorHolder &other)=default
allocator_type & get_allocator_ref()