TileDB icon indicating copy to clipboard operation
TileDB copied to clipboard

Add new and delete to DataBlock so it can be used with std::allocator

Open lums658 opened this issue 1 year ago • 1 comments

This PR changes the notion of DataBlock slightly. We now consider the DataBlock to be a single thing that is allocated. According, we no longer consider PoolAllocator as an actual allocator. Rather, we overload new and delete in DataBlockImpl so that DataBlocks can be used directly with std::allocator.


TYPE: IMPROVEMENT DESC: Add new and delete to DataBlock so it can be used with std::allocator

lums658 avatar May 01 '23 21:05 lums658