Crunch
A Message Definition Language for Getting Things Right
Loading...
Searching...
No Matches
Crunch::IsFinite Struct Reference

Validates that a floating-point value is finite (not NaN or Inf). More...

#include <crunch_validators.hpp>

Static Public Member Functions

template<typename T >
requires std::floating_point<T>
static constexpr auto Check (T value, FieldId field_id) noexcept -> std::optional< Error >
 

Detailed Description

Validates that a floating-point value is finite (not NaN or Inf).


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