Namespaces | |
| detail | |
Classes | |
| class | any |
| class | bad_any_cast |
Functions | |
| template<typename ValueType > | |
| ValueType | any_cast (any &&operand) |
| template<typename ValueType > | |
| ValueType | any_cast (any &operand) |
| Performs *any_cast<remove_reference_t<ValueType>>(&operand), or throws bad_any_cast on failure. More... | |
| template<typename ValueType > | |
| ValueType * | any_cast (any *operand) noexcept |
| template<typename ValueType > | |
| ValueType | any_cast (const any &operand) |
| Performs *any_cast<add_const_t<remove_reference_t<ValueType>>>(&operand), or throws bad_any_cast on failure. More... | |
| template<typename ValueType > | |
| const ValueType * | any_cast (const any *operand) noexcept |
|
inline |
If ValueType is MoveConstructible and isn't a lvalue reference, performs std::move(*any_cast<remove_reference_t<ValueType>>(&operand)), otherwise *any_cast<remove_reference_t<ValueType>>(&operand). Throws bad_any_cast on failure.
|
inline |
Performs *any_cast<remove_reference_t<ValueType>>(&operand), or throws bad_any_cast on failure.
|
inlinenoexcept |
|
inline |
Performs *any_cast<add_const_t<remove_reference_t<ValueType>>>(&operand), or throws bad_any_cast on failure.