6#include <inflection/exception/fwd.hpp>
7#include <inflection/exception/RuntimeException.hpp>
26 template<
typename T,
typename U>
29 if (!u)
return static_cast<T
>(
nullptr);
30 auto t =
dynamic_cast<T
>(u);
Used to indicate an error casting from one class to other.
ClassCastException(const std::u16string &message)
~ClassCastException() override
static T verifyCast(U *u)
Used to indicate a generic exception occurring at runtime.
The C++ namespace for Inflection.