#include <pointer.h>
Public Member Functions | |
ConstSharedPtr (T *ptr) | |
ConstSharedPtr (const std::shared_ptr< T > &ptr) | |
const T * | get () const noexcept |
const T & | operator* () const noexcept |
const T * | operator-> () const noexcept |
Private Attributes | |
std::shared_ptr< T > | ptr |
|
inline |
|
inline |
|
inlinenoexcept |
References ConstSharedPtr< T >::ptr.
|
inlinenoexcept |
References ConstSharedPtr< T >::ptr.
|
inlinenoexcept |
References ConstSharedPtr< T >::ptr.
|
private |
Referenced by ConstSharedPtr< T >::get(), ConstSharedPtr< T >::operator*(), and ConstSharedPtr< T >::operator->().