Referencestdany_cast function template · 5 overloads std::any_cast Header<any>Draft[any.nonmembers]Scopestdcppreferencestd::any_cast ↗ Overloads template<class T> T any_cast(any& operand);(1) template<class T> T any_cast(const any& operand);(2) template<class T> T any_cast(any&& operand);(3) template<class T> T* any_cast(any* operand) noexcept;(4) template<class T> const T* any_cast(const any* operand) noexcept;(5)