|
| void | swap (any &lhs, any &rhs) noexcept |
| | Overloads the std::swap algorithm for std::any. More...
|
| |
| template<typename ValueType > |
| ValueType * | any_cast (any *operand) noexcept |
| | Performs type-safe access to the contained object. More...
|
| |
| template<typename ValueType > |
| const ValueType * | any_cast (const any *operand) noexcept |
| | Performs type-safe access to the contained object. More...
|
| |
| template<typename ValueType > |
| ValueType | any_cast (any &operand) |
| | Performs type-safe access to the contained object. More...
|
| |
| template<typename ValueType > |
| ValueType | any_cast (const any &operand) |
| | Performs type-safe access to the contained object. More...
|
| |
| template<typename ValueType > |
| ValueType | any_cast (any &&operand) |
| | Performs type-safe access to the contained object. More...
|
| |
template<typename ValueType >
| ValueType bfl::any::any_cast |
( |
any & |
operand | ) |
|
Performs type-safe access to the contained object.
Throws blf::any::bad_any_cast if the typeid of the requested ValueType does not match that of the contents of operand.
- Parameters
-
Definition at line 382 of file any.h.
References bfl::any::any::type().