E.V.E
v2023.02.15
Loading...
Searching...
No Matches
eve::width< Type > Struct Template Reference

Detailed Description

template<typename Type>
struct eve::width< Type >

Computes the width of a given type.

Required header: #include <eve/traits/width.hpp>

For a given type T, computes the type of its width.

Template Parameters
TType to process

Member types

Name Definition
type The width type of T


Helper types

template<typename Type>
using width_t = typename width<Type>::type;

Helper variable template

template<typename Type>
inline constexpr auto width_v = width<Type>::value;
Computes the width of a given type.
Definition width.hpp:54