|
| | DefDeCtor (ValueObject) template< typename _type |
| | 无参数构造。 更多...
|
| |
| | yimpl (typename=ystdex::exclude_self_ctor_t< ValueObject, _type >)> ValueObject(_type &&obj) |
| |
| template<typename _type > |
| | ValueObject (_type *p, PointerTag) |
| | 构造:使用对象指针。 更多...
|
| |
| template<typename _type > |
| | ValueObject (unique_ptr< _type > &&p, PointerTag) |
| | 构造:使用对象 unique_ptr 指针。 更多...
|
| |
| | DefDeCopyCtor (ValueObject) DefDeMoveCtor(ValueObject) DefDeDtor(ValueObject) DefDeCopyAssignment(ValueObject) DefDeMoveAssignment(ValueObject) PDefHOp(bool |
| | 复制构造:默认实现。 更多...
|
| |
| const ynothrow | ImplRet (!content) bool operator |
| |
| return * | static_cast (content.get()) |
| |
| template<typename _type > |
| _type & | GetObject () |
| |
| template<typename _type > |
| const _type & | GetObject () const |
| |
| | DefGetter (const ynothrow, const std::type_info &, Type, content.type()) template< typename _type > inline _type &Access() |
| | 访问指定类型对象。 - 异常
-
| std::bad_cast | 空实例或类型检查失败 。 |
更多...
|
| |
| template<typename _type > |
| const _type & | Access () const |
| |
| | PDefH (void, Clear,) ynothrow ImplBodyMem(content |
| |
| | PDefH (void, swap, ValueObject &vo) ynothrow ImplBodyMem(content |
| | 交换。 更多...
|
| |
|
| template<typename _type > |
| _type * | AccessPtr () ynothrow |
| | 访问指定类型对象指针。 更多...
|
| |
| template<typename _type > |
| const _type * | AccessPtr () const ynothrow |
| |