AnCH Framework 0.2
Another C++ Hack: C++23 utility libraries
Loading...
Searching...
No Matches
anch::val::Number Concept Reference

#include <constraints.hpp>

Concept definition

template<typename N>
concept Number = std::floating_point<N>
|| (std::integral<N> && !std::same_as<N, bool> && !std::same_as<N, char> && !std::same_as<N, wchar_t>
&& !std::same_as<N, char8_t> && !std::same_as<N, char16_t> && !std::same_as<N, char32_t>)
Definition constraints.hpp:208

Detailed Description

Number type which can be used in numeric constraints: integers (without bool and characters types) and floating point numbers

Template Parameters
Nthe type
Since
0.2