|
template<typename Y > |
| local_shared_ptr (Y *y) |
|
template<typename Y , typename D > |
| local_shared_ptr (Y *y, D deleter) |
|
| local_shared_ptr (const atomic_shared_ptr< T > &t) noexcept |
|
template<typename Y > |
| local_shared_ptr (const atomic_shared_ptr< Y > &y) |
|
| local_shared_ptr (const local_shared_ptr< T, reflocal_var_t > &t) noexcept |
|
template<typename Y , typename Z > |
| local_shared_ptr (const local_shared_ptr< Y, Z > &y) noexcept |
|
| local_shared_ptr (local_shared_ptr< T, reflocal_var_t > &&t) noexcept |
|
template<typename Y , typename Z > |
| local_shared_ptr (local_shared_ptr< Y, Z > &&y) noexcept |
|
local_shared_ptr & | operator= (const local_shared_ptr &t) noexcept |
|
template<typename Y , typename Z > |
local_shared_ptr & | operator= (const local_shared_ptr< Y, Z > &y) noexcept |
|
local_shared_ptr & | operator= (local_shared_ptr &&t) noexcept |
|
template<typename Y , typename Z > |
local_shared_ptr & | operator= (local_shared_ptr< Y, Z > &&y) noexcept |
|
local_shared_ptr & | operator= (const atomic_shared_ptr< T > &t) noexcept |
|
template<typename Y > |
local_shared_ptr & | operator= (const atomic_shared_ptr< Y > &y) noexcept |
|
void | swap (local_shared_ptr &x) noexcept |
|
void | swap (atomic_shared_ptr< T > &x) noexcept |
|
void | reset () noexcept |
| The pointer held by this instance is reset to null pointer.
|
|
template<typename Y > |
void | reset (Y *y) |
| The pointer held by this instance is reset with a pointer y.
|
|
template<typename Y , typename D > |
void | reset (Y *y, D deleter) |
|
T * | get () noexcept |
|
const T * | get () const noexcept |
|
T & | operator* () noexcept |
|
const T & | operator* () const noexcept |
|
T * | operator-> () noexcept |
|
const T * | operator-> () const noexcept |
|
bool | operator! () const noexcept |
|
| operator bool () const noexcept |
|
template<typename Y , typename Z > |
bool | operator== (const local_shared_ptr< Y, Z > &x) const noexcept |
|
template<typename Y > |
bool | operator== (const atomic_shared_ptr< Y > &x) const noexcept |
|
template<typename Y , typename Z > |
bool | operator!= (const local_shared_ptr< Y, Z > &x) const noexcept |
|
template<typename Y > |
bool | operator!= (const atomic_shared_ptr< Y > &x) const noexcept |
|
int | use_count () const noexcept |
|
bool | unique () const noexcept |
|
template<typename T , typename reflocal_var_t > |
| local_shared_ptr (const local_shared_ptr &y) noexcept |
|
template<typename Y , typename Z > |
| local_shared_ptr (const local_shared_ptr< Y, Z > &y) noexcept |
|
template<typename X, typename Y>
class local_shared_ptr< X, Y >
This class provides non-reentrant interfaces for atomic_shared_ptr: operator->(), operator*() and so on.
Use this class in non-reentrant scopes instead of costly atomic_shared_ptr.
- See Also
- atomic_shared_ptr, atomic_unique_ptr, atomic_shared_ptr_test.cpp.
Definition at line 85 of file atomic_smart_ptr.h.