Available on crate feature
shared_ptr only.Expand description
A reference counting smart pointer.
Structs§
- NSTD
Shared Ptr - A reference counting smart pointer.
Functions§
- nstd_
shared_ ptr_ allocator - Returns an immutable reference to a shared object’s allocator.
- nstd_
shared_ ⚠ptr_ drop - Frees an instance of
NSTDSharedPtrafter invokingcallbackwith the shared object. - nstd_
shared_ ptr_ free - Frees an instance of
NSTDSharedPtr. - nstd_
shared_ ptr_ get - Returns an immutable raw pointer to the shared object.
- nstd_
shared_ ⚠ptr_ new - Creates a new initialized instance of a shared pointer.
- nstd_
shared_ ⚠ptr_ new_ zeroed - Creates a new zero-initialized instance of a shared pointer.
- nstd_
shared_ ptr_ owners - Returns the number of pointers that share
shared_ptr’s data. - nstd_
shared_ ptr_ share - Shares
shared_ptr. - nstd_
shared_ ptr_ size - Returns the size of the shared object.
Type Aliases§
- NSTD
Optional Shared Ptr - Represents an optional value of type
NSTDSharedPtr.