Files
cppdraft_translate/cppdraft/any/synop.md
2025-10-25 03:02:53 +03:00

913 B

[any.synop]

22 General utilities library [utilities]

22.7 Storage for any type [any]

22.7.2 Header synopsis [any.synop]

namespace std {// [any.bad.any.cast], class bad_any_castclass bad_any_cast; // [any.class], class anyclass any; // [any.nonmembers], 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 il, Args&&... args); template T any_cast(const any& operand); template T any_cast(any& operand); template T any_cast(any&& operand); templateconst T* any_cast(const any* operand) noexcept; template T* any_cast(any* operand) noexcept;}