[any.synop]

# 22 General utilities library [[utilities]](./#utilities)

## 22.7 Storage for any type [[any]](any#synop)

### 22.7.2 Header <any> synopsis [any.synop]

namespace std {// [[any.bad.any.cast]](any.bad.any.cast "22.7.3 Class bad_­any_­cast"), class bad_any_castclass bad_any_cast; // [[any.class]](any.class "22.7.4 Class any"), class anyclass any; // [[any.nonmembers]](any.nonmembers "22.7.5 Non-member functions"), non-member functionsvoid swap(any& x, any& y) noexcept; 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); 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;}
