|
Sequoia
|
A validator for the half line. More...
#include <Spaces.hpp>
Public Member Functions | |
| template<arithmetic T> | |
| constexpr T | operator() (const T val) const |
|
template<arithmetic T> requires std::is_unsigned_v<T> | |
| constexpr T | operator() (const T val) const |
A validator for the half line.
For signed arithmetic types throws for negative values; otherwise behaves like an identity operation.