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

If T is an arithmetic type, provides the member constant value equal to true if T(0) < T(-1): this results in true for the unsigned integer types and the type bool and in false for the signed integer types and the floating-point types. For any other type, value is false. The behavior of a program that adds specializations for is_unsigned or is_unsigned_v (since C++17) is undefined. More...

#include <is_unsigned.hpp>

Inheritance diagram for is_unsigned< 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_unsigned< T >

If T is an arithmetic type, provides the member constant value equal to true if T(0) < T(-1): this results in true for the unsigned integer types and the type bool and in false for the signed integer types and the floating-point types. For any other type, value is false. The behavior of a program that adds specializations for is_unsigned or is_unsigned_v (since C++17) is undefined.


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