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

Definition of the NonNegative value checked types. More...

#include <type_traits>
#include <playrho/detail/Checked.hpp>
#include <playrho/detail/NonNegativeChecker.hpp>
Include dependency graph for NonNegative.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 playrho
 

Typedefs

template<typename T >
using playrho::NonNegative = detail::Checked< T, detail::NonNegativeChecker< T > >
 Non-negative constrained value type.
 
template<typename T >
using playrho::NonNegativeFF = detail::Checked< T, detail::NonNegativeChecker< T >, true >
 Fast failing non-negative constrained value type.
 

Detailed Description

Definition of the NonNegative value checked types.