Definition of the NonZero
value checked types.
More...
#include <type_traits>
#include <playrho/detail/Checked.hpp>
#include <playrho/detail/NonZeroChecker.hpp>
Namespaces | |
playrho | |
Typedefs | |
template<typename T > | |
using | playrho::NonNull = std::enable_if_t< std::is_pointer_v< T >, detail::Checked< T, detail::NonZeroChecker< T > >> |
Non-null constrained value type. | |
template<typename T > | |
using | playrho::NonNullFF = std::enable_if_t< std::is_pointer_v< T >, detail::Checked< T, detail::NonZeroChecker< T >, true > > |
Fast failing non-null constrained value type. | |
template<typename T > | |
using | playrho::NonZero = std::enable_if_t<!std::is_pointer_v< T >, detail::Checked< T, detail::NonZeroChecker< T > >> |
Non-zero constrained value type. | |
template<typename T > | |
using | playrho::NonZeroFF = std::enable_if_t<!std::is_pointer_v< T >, detail::Checked< T, detail::NonZeroChecker< T >, true > > |
Fast failing non-zero constrained value type. | |
Definition of the NonZero
value checked types.