GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
chaiscript::detail::exception::bad_any_cast Class Reference

Thrown in the event that an Any cannot be cast to the desired type. More...

#include <any.hpp>

Inheritance diagram for chaiscript::detail::exception::bad_any_cast:
Collaboration diagram for chaiscript::detail::exception::bad_any_cast:

Public Member Functions

 bad_any_cast ()=default
 bad_any_cast (const bad_any_cast &)=default
 ~bad_any_cast () noexcept override=default
const char * what () const noexcept override
 Description of what error occurred.

Detailed Description

Thrown in the event that an Any cannot be cast to the desired type.

It is used internally during function dispatch.

See also
chaiscript::detail::Any

Constructor & Destructor Documentation

◆ bad_any_cast() [1/2]

chaiscript::detail::exception::bad_any_cast::bad_any_cast ( )
default
Here is the caller graph for this function:

◆ bad_any_cast() [2/2]

chaiscript::detail::exception::bad_any_cast::bad_any_cast ( const bad_any_cast & )
default

◆ ~bad_any_cast()

chaiscript::detail::exception::bad_any_cast::~bad_any_cast ( )
overridedefaultnoexcept

Member Function Documentation

◆ what()

const char * chaiscript::detail::exception::bad_any_cast::what ( ) const
inlineoverridenoexcept

Description of what error occurred.

Here is the caller graph for this function:

The documentation for this class was generated from the following file:
  • chai/ChaiScript-6.1.0/include/chaiscript/dispatchkit/any.hpp