|
| SharedRef (_T_ *_t, bool _own) |
|
| SharedRef (const SharedRef< _T_, _TDeleteCheck_ > &_rhs) |
|
SharedRef & | operator= (const SharedRef< _T_, _TDeleteCheck_ > &_rhs) |
|
template<typename _TCast_ > |
SharedRef< _TCast_, _TDeleteCheck_ > | d_cast () const |
|
template<typename _TCast_ >
requires (std::is_base_of_v<_TCast_, _T_>) |
SharedRef< _TCast_, _TDeleteCheck_ > | s_cast () const |
|
bool | operator== (const SharedRef< _T_ > &_rhs) const |
|
bool | operator== (const _T_ *_rhs) const |
|
| operator bool () const |
|
bool | isValid () const |
|
_T_ * | operator-> () |
|
const _T_ * | operator-> () const |
|
_T_ * | grab () |
|
_T_ * | data () |
|
const _T_ * | data () const |
|
template<typename _T_, typename _TDeleteCheck_ = details::SharedRefDefaultCheck>
class knowCore::SharedRef< _T_, _TDeleteCheck_ >
The SharedRef acts as an (optional) smart pointer, in the sense, that it can contains objects that are owned by it or not.