|
R-Type
2
Doom but in better
|
#include <any>#include <string>#include <optional>#include <type_traits>#include "Log.hpp"#include "LogMacros.hpp"#include "CustomExceptions.hpp"

Go to the source code of this file.
Namespaces | |
| namespace | Utilities |
Functions | |
| template<typename T , typename Exception = CustomExceptions::InvalidType> | |
| std::optional< T > | Utilities::unCast (const std::any &classNode, const bool raiseOnError=true, const std::string customErrorMessage="") |
Casts the content of a std::any back to its original type. | |