Fields if TAllocator is not default constructible (not HeapAllocator).
Definition at line 93 of file sharedval.hpp.
#include <sharedval.hpp>
Public Field Index: | |
TAllocator & | allocator |
The allocator used. | |
T | custom |
The instance of the custom type. | |
std::atomic< unsigned int > | 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& allocator |
The allocator used.
Definition at line 102 of file sharedval.hpp.
T custom |
The instance of the custom type.
Definition at line 96 of file sharedval.hpp.
std::atomic<unsigned int> refCount |
The reference counter used to implement the std::shared_ptr
behavior.
Definition at line 99 of file sharedval.hpp.
|
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 109 of file sharedval.hpp.
|
inline |
Definition at line 115 of file sharedval.hpp.