piranha  0.10
piranha::safe_cast_failure Struct Referencefinal

Exception to signal failure in piranha::safe_cast(). More...

#include <piranha/safe_cast.hpp>

Inherits std::invalid_argument.

Detailed Description

Exception to signal failure in piranha::safe_cast().

This exception should be thrown by specialisations of piranha::safe_cast() in case a value-preserving type conversion cannot be performed.

This exception inherits the constructors from std::invalid_argument.

Definition at line 53 of file safe_cast.hpp.


The documentation for this struct was generated from the following file: