7 #ifndef ZEROBUF_NONMOVINGBASEALLOCATOR_H
8 #define ZEROBUF_NONMOVINGBASEALLOCATOR_H
11 #include <zerobuf/Allocator.h>
21 explicit NonMovingBaseAllocator(
const NonMovingBaseAllocator& from );
22 ZEROBUF_API
virtual ~NonMovingBaseAllocator();
25 NonMovingBaseAllocator& operator = (
const NonMovingBaseAllocator& rhs );
30 virtual void _resize(
size_t newSize ) = 0;
Allocator base class which does not move existing fields.
Defines export visibility macros for library ZeroBuf.
Allocator base class and interface.
ZEROBUF_API uint8_t * updateAllocation(size_t index, size_t size) override
Update allocation of the dynamic elem.