NIM 跨平台 C++ SDK
|
类 | |
class | nstd::_shared_ptr< T > |
class | nstd::_weak_ptr< T > |
命名空间 | |
namespace | nstd |
类型定义 | |
template<class T > | |
using | nstd::shared_ptr = nstd::_shared_ptr<T> |
template<class T > | |
using | nstd::weak_ptr = nstd::_weak_ptr<T> |
函数 | |
template<class T , class... TArgs> | |
nstd::shared_ptr< T > | nstd::make_shared (TArgs &&... args) |
template<class T1 , class T2 > | |
shared_ptr< T1 > | nstd::dynamic_pointer_cast (const shared_ptr< T2 > &other) noexcept |
nstd::atomic_int shared_count {1} |
nstd::atomic_int weak_count {0} |