17 : m_data(new std::vector<char>(mem_block_size))
24 m_data->resize(mem_block_size);
unsigned int alias_count() const
CReferencedMemBlock(size_t mem_block_size=0)
Constructor with an optional size of the memory block.
std::shared_ptr< std::vector< char > > m_data
void clear()
Frees the underlying memory block.
void resize(size_t mem_block_size)
Resize the shared memory block.
virtual ~CReferencedMemBlock()
Destructor, calls dereference_once.
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values,...