|
ChaiScript
|
Thrown in the event that a Boxed_Value cannot be cast to the desired type. More...
#include <bad_boxed_cast.hpp>


Public Member Functions | |
| bad_boxed_cast (Type_Info t_from, const std::type_info &t_to, utility::Static_String t_what) noexcept | |
| bad_boxed_cast (Type_Info t_from, const std::type_info &t_to) noexcept | |
| bad_boxed_cast (utility::Static_String t_what) noexcept | |
| bad_boxed_cast (const bad_boxed_cast &) noexcept=default | |
| const char * | what () const noexcept override |
| Description of what error occurred. | |
Public Attributes | |
| Type_Info | from |
| Type_Info contained in the Boxed_Value. | |
| const std::type_info * | to = nullptr |
| std::type_info of the desired (but failed) result type | |
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.
1.8.13