36#error THIS HEADER IS A GENERATOR. DO NOT INCLUDE.
65#ifndef ETL_LARGEST_INCLUDED
66#define ETL_LARGEST_INCLUDED
74#include "static_assert.h"
78#if ETL_USING_CPP11 && !defined(ETL_LARGEST_TYPE_FORCE_CPP03_IMPLEMENTATION)
85 template <
typename T1,
typename... TRest>
91 using largest_other =
typename largest_type<TRest...>::type;
97 using type =
typename etl::conditional<(etl::size_of<T1>::value > etl::size_of<largest_other>::value),
105 size = etl::size_of<type>::value
112 template <
typename T1>
121 size = etl::size_of<type>::value
126 template <
typename... T>
127 using largest_type_t =
typename largest_type<T...>::type;
131 template <
typename... T>
200#if ETL_USING_CPP11 && !defined(ETL_LARGEST_ALIGNMENT_FORCE_CPP03_IMPLEMENTATION)
206 template <
typename T1,
typename... TRest>
210 using largest_other =
typename largest_alignment<TRest...>::type;
214 using type =
typename etl::conditional<(etl::alignment_of<T1>::value > etl::alignment_of<largest_other>::value),
222 value = etl::alignment_of<type>::value
229 template <
typename T1>
236 value = etl::alignment_of<type>::value
241 template <
typename... T>
314 template <
typename T>
317 ETL_STATIC_ASSERT(etl::is_integral<T>::value,
"Must be an integral type");
323 template <
typename T>
324 using larger_int_type_t =
typename larger_int_type<T>::type;
332 template <
typename T>
335 ETL_STATIC_ASSERT(etl::is_integral<T>::value,
"Must be an integral type");
341 template <
typename T>
342 using larger_uint_type_t =
typename larger_uint_type<T>::type;
351 template <typename T, bool IS_SIGNED = etl::is_signed<T>::value>
354 template <
typename T>
357 ETL_STATIC_ASSERT(etl::is_integral<T>::value,
"Must be an integral type");
362 template <
typename T>
365 ETL_STATIC_ASSERT(etl::is_integral<T>::value,
"Must be an integral type");
371 template <
typename T>
375#if ETL_USING_CPP11 && !defined(ETL_LARGEST_FORCE_CPP03_IMPLEMENTATION)
381 template <
typename... T>
394 template <
typename... T>
395 using largest_t =
typename largest<T...>::type;
399 template <
typename... T>
Defines a type that is as larger or larger than the specified type. Will return the specified type is...
Definition largest_generator.h:352
Defines a type that is as larger or larger than the specified type. Will return the specified type is...
Definition largest_generator.h:334
Template to determine the smallest signed int type that can contain a value with the specified number...
Definition smallest_generator.h:352
Template to determine the smallest unsigned int type that can contain a value with the specified numb...
Definition smallest_generator.h:323
bitset_ext
Definition absolute.h:39
ETL_CONSTEXPR TContainer::size_type size(const TContainer &container)
Definition iterator.h:1187
Defines a type that is as larger or larger than the specified type. Will return the specified type is...
Definition largest_generator.h:316