Shared/Base/TypeInfo.h file

Namespaces

namespace Death
Shared root namespace.

Functions

template<typename T, typename U>
auto runtime_cast(U* u) -> T noexcept
Casts a pointer to another type.
template<typename T, typename U>
auto runtime_cast(const U* u) -> T noexcept
template<typename T, typename U>
auto runtime_cast(const std::shared_ptr<U>& u) -> T noexcept
template<typename T, typename U>
auto runtime_cast(const std::unique_ptr<U>& u) -> T noexcept

Defines

#define DEATH_RUNTIME_OBJECT(...)
Class annotation to enable optimized runtime_cast<T>() functionality.