tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
is_floating_point< T > Struct Template Reference

Checks whether T is a floating-point type. Provides the member constant value which is equal to true, if T is the type float, double, long double, including any cv-qualified variants. Otherwise, value is equal to false. More...

#include <is_floating_point.hpp>

Inheritance diagram for is_floating_point< T >:
integral_constant< bool, B >

Additional Inherited Members

- Public Types inherited from integral_constant< bool, B >
using type
 
using type
 
using value_type
 
using value_type
 
- Public Member Functions inherited from integral_constant< bool, B >
constexpr operator value_type () const noexcept
 
constexpr operator value_type () const noexcept
 
constexpr auto operator() () const noexcept -> value_type
 
constexpr auto operator() () const noexcept -> value_type
 
- Static Public Attributes inherited from integral_constant< bool, B >
static constexpr bool value
 
static constexpr bool value
 

Detailed Description

template<typename T>
struct etl::is_floating_point< T >

Checks whether T is a floating-point type. Provides the member constant value which is equal to true, if T is the type float, double, long double, including any cv-qualified variants. Otherwise, value is equal to false.

The behavior of a program that adds specializations for is_floating_point or is_floating_point_v is undefined.


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