Sequoia
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
sequoia::maths::interval_validator< T, Lower, Upper > Struct Template Reference

A generic interval validator for floating-point types. More...

#include <Spaces.hpp>

Public Member Functions

template<std::floating_point U>
requires (sizeof(U) <= sizeof(T))
constexpr U operator() (const U val) const
 
template<std::floating_point U, std::size_t D>
requires (sizeof(U) <= sizeof(T))
constexpr const std::array< U, D > & operator() (const std::array< U, D > &vals) const
 

Static Public Attributes

static constexpr T lower {Lower}
 
static constexpr T upper {Upper}
 

Detailed Description

template<std::floating_point T, T Lower, T Upper = std::numeric_limits<T>::infinity()>
requires (Upper > Lower)
struct sequoia::maths::interval_validator< T, Lower, Upper >

A generic interval validator for floating-point types.


The documentation for this struct was generated from the following file: