Thrown in the event that a Boxed_Value cannot be cast to the desired type.
More...
#include <bad_boxed_cast.hpp>
Thrown in the event that a Boxed_Value cannot be cast to the desired type.
It is used internally during function dispatch and may be used by the end user.
- See also
- chaiscript::boxed_cast
◆ bad_boxed_cast() [1/4]
| chaiscript::exception::bad_boxed_cast::bad_boxed_cast |
( |
Type_Info | t_from, |
|
|
const std::type_info & | t_to, |
|
|
std::string | t_what ) |
|
inlinenoexcept |
◆ bad_boxed_cast() [2/4]
| chaiscript::exception::bad_boxed_cast::bad_boxed_cast |
( |
Type_Info | t_from, |
|
|
const std::type_info & | t_to ) |
|
inline |
◆ bad_boxed_cast() [3/4]
| chaiscript::exception::bad_boxed_cast::bad_boxed_cast |
( |
std::string | t_what | ) |
|
|
inlineexplicitnoexcept |
◆ bad_boxed_cast() [4/4]
| chaiscript::exception::bad_boxed_cast::bad_boxed_cast |
( |
const bad_boxed_cast & | | ) |
|
|
default |
◆ ~bad_boxed_cast()
| chaiscript::exception::bad_boxed_cast::~bad_boxed_cast |
( |
| ) |
|
|
overridedefaultnoexcept |
◆ what()
| const char * chaiscript::exception::bad_boxed_cast::what |
( |
| ) |
const |
|
inlineoverridenoexcept |
Description of what error occurred.
◆ from
| Type_Info chaiscript::exception::bad_boxed_cast::from |
◆ to
| const std::type_info* chaiscript::exception::bad_boxed_cast::to = nullptr |
std::type_info of the desired (but failed) result type
The documentation for this class was generated from the following file: