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