|
value_type * | GetValue () |
|
template<typename... Args> |
| ref_count_sp_t_inst (allocator_type allocator, Args &&... args) |
|
void | free_value () EA_NOEXCEPT |
|
void | free_ref_count_sp () EA_NOEXCEPT |
|
void * | get_deleter () const EA_NOEXCEPT |
|
| ref_count_sp (int32_t refCount=1, int32_t weakRefCount=1) EA_NOEXCEPT |
| Reference count on contained pointer plus this ref_count_sp object itself. Starts as 1 by default.
|
|
int32_t | use_count () const EA_NOEXCEPT |
|
void | addref () EA_NOEXCEPT |
|
void | release () |
|
void | weak_addref () EA_NOEXCEPT |
|
void | weak_release () |
|
ref_count_sp * | lock () EA_NOEXCEPT |
|
template<typename T, typename Allocator>
class eastl::ref_count_sp_t_inst< T, Allocator >
ref_count_sp_t_inst
This is a version of ref_count_sp which is used to actually hold an instance of T (instead of a pointer). This is useful to allocate the object and ref count in a single memory allocation.