PlayRho  2.0.0
An interactive physics engine & library.
to_underlying.hpp File Reference

Definition of to_underlying function template. More...

Include dependency graph for to_underlying.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 playrho
 

Typedefs

template<class T >
using playrho::underlying_type_t = typename detail::underlying_type< T >::type
 Underlying-type convenience alias.
 

Functions

template<typename T >
constexpr auto playrho::to_underlying (T value) noexcept -> underlying_type_t< T >
 

Detailed Description

Definition of to_underlying function template.