ATLAS Offline Software
Loading...
Searching...
No Matches
DataVectorWithAlloc< DV, ALLOC >::ContainerUniquePtr Class Reference

Helper for unique_ptr conversions. More...

#include <DataVectorWithAlloc.h>

Inheritance diagram for DataVectorWithAlloc< DV, ALLOC >::ContainerUniquePtr:
Collaboration diagram for DataVectorWithAlloc< DV, ALLOC >::ContainerUniquePtr:

Public Types

using Base = std::unique_ptr<DataVectorWithAlloc>

Public Member Functions

 operator std::unique_ptr< const DV > () &&noexcept
T * operator-> ()
 STL member.

Public Attributes

ptr
 STL member.

Detailed Description

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

Helper for unique_ptr conversions.

See make_unique below.

Definition at line 221 of file DataVectorWithAlloc.h.

Member Typedef Documentation

◆ Base

template<class DV, class ALLOC>
using DataVectorWithAlloc< DV, ALLOC >::ContainerUniquePtr::Base = std::unique_ptr<DataVectorWithAlloc>

Definition at line 225 of file DataVectorWithAlloc.h.

Member Function Documentation

◆ operator std::unique_ptr< const DV >()

template<class DV, class ALLOC>
DataVectorWithAlloc< DV, ALLOC >::ContainerUniquePtr::operator std::unique_ptr< const DV > ( ) &&
inlinenoexcept

Definition at line 227 of file DataVectorWithAlloc.h.

228 {
230 }
DataVector using a custom allocator for the elements.
const DV * asDataVector() const
Return a pointer to this object, as a const DataVector.
static std::string release
Definition computils.h:50

◆ operator->()

T* std::unique_ptr< T >::operator->
inherited

STL member.

Member Data Documentation

◆ ptr

T std::unique_ptr< T >::ptr
inherited

STL member.


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