#include <shared_reference.hpp>
Public Member Functions | |
template<typename Y > | |
shared_reference (const shared_reference< Y > &p) | |
template<typename Y > | |
shared_reference (shared_reference< Y > &&p) | |
template<typename Y > | |
shared_reference (const std::shared_ptr< Y > &p) | |
template<typename Y > | |
shared_reference (std::shared_ptr< Y > &&p) | |
template<typename Y > | |
shared_reference & | operator= (shared_reference< Y > &&p) |
template<typename Y > | |
shared_reference & | operator= (const shared_reference< Y > &p) |
~shared_reference ()=default | |
operator std::shared_ptr< T > () | |
T * | operator-> () |
const T * | operator-> () const |
T & | operator* () |
const T & | operator* () const |
Private Attributes | |
std::shared_ptr< T > | m_ptr |
Friends | |
template<typename XT , typename... XTypes> | |
shared_reference< XT > | make_shared_reference (XTypes &&...args) |
Definition at line 23 of file shared_reference.hpp.
|
inline |
Definition at line 29 of file shared_reference.hpp.
|
inline |
Definition at line 33 of file shared_reference.hpp.
|
inlineexplicit |
Definition at line 37 of file shared_reference.hpp.
References p.
|
inlineexplicit |
Definition at line 45 of file shared_reference.hpp.
References p.
|
default |
|
inline |
Definition at line 68 of file shared_reference.hpp.
References utils::shared_reference< T >::m_ptr.
|
inline |
Definition at line 74 of file shared_reference.hpp.
References utils::shared_reference< T >::m_ptr.
|
inline |
Definition at line 75 of file shared_reference.hpp.
References utils::shared_reference< T >::m_ptr.
|
inline |
Definition at line 71 of file shared_reference.hpp.
References utils::shared_reference< T >::m_ptr.
|
inline |
Definition at line 72 of file shared_reference.hpp.
References utils::shared_reference< T >::m_ptr.
|
inline |
Definition at line 60 of file shared_reference.hpp.
References utils::shared_reference< T >::m_ptr, and p.
|
inline |
Definition at line 54 of file shared_reference.hpp.
References utils::shared_reference< T >::m_ptr, and p.
|
friend |
|
private |
Definition at line 25 of file shared_reference.hpp.
Referenced by utils::shared_reference< T >::operator std::shared_ptr< T >(), utils::shared_reference< T >::operator*(), utils::shared_reference< T >::operator->(), and utils::shared_reference< T >::operator=().