E.V.E
v2023.02.15
 
Loading...
Searching...
No Matches

◆ max_scalar_size_v

template<typename T >
std::size_t eve::max_scalar_size_v
constexpr
Initial value:
= kumi::max_flat( kumi::as_tuple_t<T>{}
, [](auto m) { return sizeof(m); }
)
Template Parameters
TType to process
   For a product type returns max size of individual fields.
   Otherwise returns sizeof(T)

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