![]() |
ATLAS Offline Software
|
unique_ptr holding an element for this vector.
More...
#include <DataVectorWithAlloc.h>
Public Types | |
| using | pointer = typename base_ptr::pointer |
| using | element_type = typename base_ptr::element_type |
Public Member Functions | |
| Ptr ()=default | |
| Ptr (std::nullptr_t) noexcept | |
| Ptr (Ptr &&)=default | |
| operator bool () const noexcept | |
| Ptr & | operator= (Ptr &&) noexcept=default |
| Ptr & | operator= (std::nullptr_t) noexcept |
| void | swap (Ptr &other) noexcept |
| pointer | get () const noexcept |
| std::add_lvalue_reference< base_value_type >::type | operator* () const |
| pointer | operator-> () const noexcept |
| bool | operator== (const Ptr &other) const noexcept |
| bool | operator< (const Ptr &other) const noexcept |
| bool | operator== (std::nullptr_t) const noexcept |
| bool | operator!= (std::nullptr_t) const noexcept |
Private Types | |
| using | base_ptr = std::unique_ptr< base_value_type, UPDeleter > |
Private Member Functions | |
| Ptr (pointer p, UPDeleter &&d) noexcept | |
| pointer | release () noexcept |
| void | checkHeap (const elt_allocator_type *other_heap) const |
Private Attributes | |
| base_ptr | m_ptr |
| Underlying unique_ptr. More... | |
Friends | |
| class | DataVectorWithAlloc |
unique_ptr holding an element for this vector.
Like unique_ptr, except that only the container itself can build one from an arbitrary pointer or release one.
Definition at line 176 of file DataVectorWithAlloc.h.
|
private |
Definition at line 178 of file DataVectorWithAlloc.h.
| using DataVectorWithAlloc< DV, ALLOC >::Ptr::element_type = typename base_ptr::element_type |
Definition at line 181 of file DataVectorWithAlloc.h.
| using DataVectorWithAlloc< DV, ALLOC >::Ptr::pointer = typename base_ptr::pointer |
Definition at line 180 of file DataVectorWithAlloc.h.
|
default |
|
noexcept |
|
default |
|
privatenoexcept |
|
private |
|
noexcept |
|
noexcept |
|
noexcept |
| std::add_lvalue_reference<base_value_type>::type DataVectorWithAlloc< DV, ALLOC >::Ptr::operator* | ( | ) | const |
|
noexcept |
|
noexcept |
|
defaultnoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
privatenoexcept |
|
noexcept |
|
friend |
Definition at line 202 of file DataVectorWithAlloc.h.
|
private |
Underlying unique_ptr.
Definition at line 211 of file DataVectorWithAlloc.h.
1.8.18