std::experimental::shared_ptr
is a modified version of std::shared_ptr that adds support for arrays.
The following member functions work with std::experimental::shared_ptr instead of std::shared_ptr and std::experimental::weak_ptr instead of std::weak_ptr. The behavior is otherwise identical.
destructs the owned object if no moreshared_ptr
s link to it
std::shared_ptr<T>
) [edit] assigns the shared_ptr
std::shared_ptr<T>
) [edit] Modifiers replaces the managed object
std::shared_ptr<T>
) [edit] swaps the managed objects
std::shared_ptr<T>
) [edit] Observers returns the number of shared_ptr
objects referring to the same managed object
std::shared_ptr<T>
) [edit] checks whether the managed object is managed only by the current shared_ptr
object
std::shared_ptr<T>
) [edit] checks if the stored pointer is not null
std::shared_ptr<T>
) [edit] provides owner-based ordering of shared pointers
std::shared_ptr<T>
) [edit] Non-member functions
These non-member functions are declared in the std::experimental
namespace, and work with std::experimental::shared_ptr
rather than std::shared_ptr, but otherwise behaves identically to the corresponding C++14 function.
These class templates are declared in the std::experimental
namespace, and work with std::experimental::shared_ptr
and std::experimental::weak_ptr rather than std::shared_ptr and std::weak_ptr, but otherwise behaves identically to the corresponding C++14 class template.
shared_ptr
referring to itself
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4