std::floating_point
From cppreference.com
| Defined in header <concepts>
|
||
| template < class T > concept floating_point = std::is_floating_point_v<T>; |
(since C++20) | |
The concept floating_point<T> is satisfied if and only if T is a floating-point type.
See also
| (C++11) |
checks if a type is a floating-point type (class template) |