template<typename T, typename TAllocator = HeapAllocator>
struct alib::containers::SharedVal< T, TAllocator >::FieldMembersNoTA
Fields if TAllocator is default-constructible (e.g., HeapAllocator).
Definition at line 58 of file sharedval.inl.
template<typename T, typename TAllocator = HeapAllocator>
template<typename... TArgs, typename TRequires = TAllocator>
requires std::default_initializable<TRequires>
Alternative constructor missing the allocator instance. This is used only with allocators that are default-constructible (like HeapAllocator is).
- Template Parameters
-
TArgs | The argument types used for constructing T. |
TRequires | Defaulted template parameter. Must not be specified. |
- Parameters
-
args | The arguments for constructing T. |
Definition at line 74 of file sharedval.inl.