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

If T is an arithmetic type, provides the member constant value equal to true if T(-1) < T(0): this results in true for the floating-point types and the signed integer types, and in false for the unsigned integer types and the type bool. For any other type, value is false. More...

#include <is_signed.hpp>

Inheritance diagram for is_signed< T >:
integral_constant< Type, Val >

Additional Inherited Members

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

Detailed Description

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

If T is an arithmetic type, provides the member constant value equal to true if T(-1) < T(0): this results in true for the floating-point types and the signed integer types, and in false for the unsigned integer types and the type bool. For any other type, value is false.


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