std::shared_ptr::operator bool
From cppreference.com
| explicit operator bool() const; |
||
Checks if *this manages an object, i.e. whether get() != 0.
Contents |
Parameters
(none)
Return value
true if *this manages an object, false otherwise.
Exceptions
Example
| This section is incomplete Reason: no example |