Template Function c2k::detail::summed_sizeof

Function Documentation

template<typename ...Ts>
consteval std::size_t c2k::detail::summed_sizeof()

Calculate the combined size of multiple types.

This function calculates and returns the sum of the sizes of the specified types. The size is calculated using the sizeof operator.

Note

This function is a consteval, which means it will be evaluated at compile-time.

Template Parameters:

Ts – The types whose sizes are to be summed.

Returns:

The combined size of the types.