![]() |
Kiwano Engine v1.3.x
|
引用计数智能指针 更多...
#include <RefBasePtr.hpp>
Public 类型 | |
| using | value_type = _Ty |
| using | pointer_type = _Ty * |
| using | const_pointer_type = const _Ty * |
| using | reference_type = _Ty & |
| using | const_reference_type = const _Ty & |
Public 成员函数 | |
| RefBasePtr (std::nullptr_t) noexcept | |
| RefBasePtr (pointer_type p) | |
| RefBasePtr (const RefBasePtr &other) | |
| RefBasePtr (RefBasePtr &&other) noexcept | |
| template<typename _UTy , typename std::enable_if< std::is_convertible< _UTy *, _Ty * >::value, int >::type = 0> | |
| RefBasePtr (const RefBasePtr< _UTy, _RefPolicy > &other) | |
| pointer_type | Get () const noexcept |
| pointer_type * | GetAddressOfAndRelease () |
| void | Reset (pointer_type ptr=nullptr) |
| void | Swap (RefBasePtr &other) noexcept |
| pointer_type | operator-> () |
| const_pointer_type | operator-> () const |
| reference_type | operator* () |
| const_reference_type | operator* () const |
| pointer_type * | operator& () |
| operator bool () const noexcept | |
| bool | operator! () const noexcept |
| RefBasePtr & | operator= (const RefBasePtr &other) |
| RefBasePtr & | operator= (RefBasePtr &&other) noexcept |
| RefBasePtr & | operator= (pointer_type p) |
| template<typename _UTy , typename std::enable_if< std::is_convertible< _UTy *, _Ty * >::value, int >::type = 0> | |
| RefBasePtr & | operator= (const RefBasePtr< _UTy, _RefPolicy > &other) |
| RefBasePtr & | operator= (std::nullptr_t) |
引用计数智能指针