Embedded Template Library 1.0
Loading...
Searching...
No Matches
etl::larger_int_type< T > Struct Template Reference

Defines a type that is as larger or larger than the specified type. Will return the specified type is there is not a larger type. \ingroup largest. More...

#include <largest_generator.h>

Public Types

typedef etl::smallest_int_for_bits< etl::integral_limits< typenameetl::make_signed< T >::type >::bits+1 >::type type
 
typedef etl::smallest_int_for_bits< etl::integral_limits< typenameetl::make_signed< T >::type >::bits+1 >::type type
 

Public Member Functions

 ETL_STATIC_ASSERT (etl::is_integral< T >::value, "Must be an integral type")
 
 ETL_STATIC_ASSERT (etl::is_integral< T >::value, "Must be an integral type")
 

Detailed Description

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

Defines a type that is as larger or larger than the specified type. Will return the specified type is there is not a larger type. \ingroup largest.

Defines a type that is as larger or larger than the specified type. Will return the specified type is there is not a larger type. \ingroup largest


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