Fields if TAllocator is not default-constructible (not HeapAllocator).
Definition at line 83 of file sharedval.inl.
Public Field Index: | |
| TAllocator & | allocator |
| The allocator used. | |
| T | custom |
| The instance of the custom type. | |
| std::atomic< unsigned > | refCount |
The reference counter used to implement the std::shared_ptr behavior. | |
Public Method Index: | |
| template<typename... TArgs> | |
| FieldMembersWithAllocator (TAllocator &pAllocator, TArgs &&... args) | |
| TAllocator & | GetAllocator () const |
| TAllocator& alib::containers::SharedVal< T, TAllocator >::FieldMembersWithAllocator::allocator |
The allocator used.
Definition at line 92 of file sharedval.inl.
| T alib::containers::SharedVal< T, TAllocator >::FieldMembersWithAllocator::custom |
The instance of the custom type.
Definition at line 86 of file sharedval.inl.
| std::atomic<unsigned> alib::containers::SharedVal< T, TAllocator >::FieldMembersWithAllocator::refCount |
The reference counter used to implement the std::shared_ptr behavior.
Definition at line 89 of file sharedval.inl.
|
inline |
Constructor.
| pAllocator | The allocator, stored in parent AllocatorMember. |
| TArgs | The argument types used for constructing T. |
| args | The arguments for constructing T. |
Definition at line 99 of file sharedval.inl.
|
inline |
Definition at line 105 of file sharedval.inl.