| description | Learn more about: <any> functions | |||
|---|---|---|---|---|
| title | <any> functions | |||
| ms.date | 04/04/2019 | |||
| f1_keywords |
|
Makes an object into an any.
template<class T>
T any_cast(const any& operand);
template<class T>
T any_cast(any& operand);
template<class T>
T any_cast(any&& operand);
template<class T>
const T* any_cast(const any* operand) noexcept;
template<class T>
T* any_cast(any* operand) noexcept;Takes values and creates an any object.
template <class T, class... Args>
any make_any(Args&& ...args);
template <class T, class U, class... Args>
any make_any(initializer_list<U> il, Args&& ...args);Exchanges the elements of two objects any.
void swap(any& left, any& right) noexcept;left
An object of type any.
right
An object of type any.