![]() |
ATLAS Offline Software
|
unique_ptr deletion class for a payload object.
More...
#include <ConcurrentRangeMap.h>
Public Member Functions | |
| DeletePayload (delete_function *delfcn) | |
| Initialize with an explicit deletion function. | |
| template<class U> | |
| DeletePayload (const std::default_delete< U > &) | |
| void | operator() (const T *p) const |
| Delete a pointer. | |
Static Public Member Functions | |
| template<class U> | |
| static void | delfcn (const T *p) |
Allow initializing a payload_unique_ptr from a std::unique_ptr. | |
Public Attributes | |
| delete_function * | m_delete |
| The deletion function. | |
unique_ptr deletion class for a payload object.
We can't use the unique_ptr default because we want to allow instantiating with a void.
Definition at line 236 of file ConcurrentRangeMap.h.
|
inline |
Initialize with an explicit deletion function.
Definition at line 239 of file ConcurrentRangeMap.h.
|
inline |
Definition at line 251 of file ConcurrentRangeMap.h.
|
inlinestatic |
Allow initializing a payload_unique_ptr from a std::unique_ptr.
Definition at line 246 of file ConcurrentRangeMap.h.
|
inline |
Delete a pointer.
Definition at line 257 of file ConcurrentRangeMap.h.
| delete_function* CxxUtils::ConcurrentRangeMap< RANGE, KEY, T, COMPARE, UPDATER >::DeletePayload::m_delete |
The deletion function.
Definition at line 263 of file ConcurrentRangeMap.h.