Template Class external
Defined in File external.hpp
Class Documentation
-
template<class T>
class external This class template manages an external member, a member declared to be external to the storage of a type.
Public Functions
-
external() = default
Default constructor.
Constructor from a shared pointer.
-
~external() = default
Destructor.
Get shared pointer.
-
inline bool operator==(const external<T> &other) const
Compares they manage the same object or empty both.
-
inline bool operator!=(const external<T> &other) const
Compares they don’t manages the same object.
-
inline operator bool() const noexcept
Checks if not null.
-
inline bool is_locked() const noexcept
Checks if locked.
-
inline void lock() noexcept
Locks the managed object.
-
external() = default