AthContainers: Allow customizing DV object deletion.
Add a mechanism to DataVector to customize how objects are deleted. This is done by a polymorphic Deleter interface. The goal here is to be able to use an alternate memory allocator for the objects in a DV. But for compatibility and other reasons, we don't want to change the DV types themselves, which is why this is done via a polymorphic interface.
Showing
- Control/AthContainers/AthContainers/DataVector.h 70 additions, 0 deletionsControl/AthContainers/AthContainers/DataVector.h
- Control/AthContainers/AthContainers/DataVector.icc 110 additions, 15 deletionsControl/AthContainers/AthContainers/DataVector.icc
- Control/AthContainers/CMakeLists.txt 1 addition, 1 deletionControl/AthContainers/CMakeLists.txt
- Control/AthContainers/test/DataVector_test.icc 88 additions, 0 deletionsControl/AthContainers/test/DataVector_test.icc
Loading
Please register or sign in to comment