Files
2025-10-25 03:02:53 +03:00

10 lines
913 B
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[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.3Class bad_­any_­cast"), class bad_any_castclass bad_any_cast; // [[any.class]](any.class "22.7.4Class any"), class anyclass any; // [[any.nonmembers]](any.nonmembers "22.7.5Non-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;}