CatapultServer  v0.5.0.1 (Elephant)
Casting.h File Reference
Include dependency graph for Casting.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 catapult
 
 catapult::utils
 

Functions

template<typename T >
constexpr const T & catapult::utils::as_const (T &ref)
 Coerces a reference (ref) to a const reference. More...
 
template<typename TEnum >
constexpr std::underlying_type_t< TEnum > catapult::utils::to_underlying_type (TEnum value)
 Converts a strongly typed enumeration value to its underlying integral value. More...
 
template<typename TSource , typename TDest >
TDest catapult::utils::checked_cast (TSource value)