Non-negative constrained value checker.
More...
#include <NonNegative.hpp>
|
|
using | exception_type = std::invalid_argument |
| | Exception type possibly thrown by this checker.
|
| |
|
|
constexpr auto | operator() () noexcept -> decltype(static_cast< T >(0)) |
| | Valid value supplying functor.
|
| |
| constexpr auto | operator() (const T &v) -> decltype(!(v >=static_cast< T >(0)), T |
| | Value checking functor. More...
|
| |
template<typename T>
struct playrho::NonNegativeChecker< T >
Non-negative constrained value checker.
◆ operator()()
Value checking functor.
- Exceptions
-
| exception_type | if given value is not valid. |
The documentation for this struct was generated from the following file: