ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
DataVectorWithAlloc< DV, ALLOC >::UPDeleter Class Reference

Internal helper to serve as a deleter for our unique_ptr class. More...

Collaboration diagram for DataVectorWithAlloc< DV, ALLOC >::UPDeleter:

Public Member Functions

 UPDeleter () noexcept
 
 UPDeleter (elt_allocator_type &heap) noexcept
 
void operator() (value_type p)
 
const elt_allocator_typeheap () const noexcept
 

Private Attributes

elt_allocator_typem_heap
 

Detailed Description

template<class DV, class ALLOC>
class DataVectorWithAlloc< DV, ALLOC >::UPDeleter

Internal helper to serve as a deleter for our unique_ptr class.

Definition at line 157 of file DataVectorWithAlloc.h.

Constructor & Destructor Documentation

◆ UPDeleter() [1/2]

template<class DV , class ALLOC >
DataVectorWithAlloc< DV, ALLOC >::UPDeleter::UPDeleter ( )
noexcept

◆ UPDeleter() [2/2]

template<class DV , class ALLOC >
DataVectorWithAlloc< DV, ALLOC >::UPDeleter::UPDeleter ( elt_allocator_type heap)
noexcept

Member Function Documentation

◆ heap()

template<class DV , class ALLOC >
const elt_allocator_type* DataVectorWithAlloc< DV, ALLOC >::UPDeleter::heap ( ) const
noexcept

◆ operator()()

template<class DV , class ALLOC >
void DataVectorWithAlloc< DV, ALLOC >::UPDeleter::operator() ( value_type  p)

Member Data Documentation

◆ m_heap

template<class DV , class ALLOC >
elt_allocator_type* DataVectorWithAlloc< DV, ALLOC >::UPDeleter::m_heap
private

Definition at line 165 of file DataVectorWithAlloc.h.


The documentation for this class was generated from the following file: