Skip to main content

is_floating_point Concept

C++20 concept satisfied when T is a standard floating point type. More...

Definition

template <class T>
concept micro_os_plus::micro_test_plus::type_traits::is_floating_point = std::is_floating_point_v<T>

Description

C++20 concept satisfied when T is a standard floating point type.

Template Parameters
T

The type to be checked.

The is_floating_point concept is satisfied when T is one of the standard floating point types (float, double, or long double). It is the primary definition; is_floating_point_v is derived from it for use in if constexpr and non-concept contexts.

Definition at line 423 of file type-traits.h.

  template<class T>
  concept is_floating_point = std::is_floating_point_v<T>

Generated via doxygen2docusaurus 2.2.0 by Doxygen 1.17.0.