libycxx

function template · 5 overloads

std::any_cast

Header
<any>
Scope
std
cppreference
std::any_cast

Overloads

  1. template<class T>
    T any_cast(any& operand);
    (1)
  2. template<class T>
    T any_cast(const any& operand);
    (2)
  3. template<class T>
    T any_cast(any&& operand);
    (3)
  4. template<class T>
    T* any_cast(any* operand) noexcept;
    (4)
  5. template<class T>
    const T* any_cast(const any* operand) noexcept;
    (5)