Typedef ctql::Sum

Typedef Documentation

template<typename ...Ts>
using ctql::Sum = reduce_sizes_t<detail::add_i, 0, Ts...>

Sum of Ts::size for a pack of HasStaticSize types.

Note

Empty pack yields 0.

Template Parameters:

Ts – Types satisfying HasStaticSize.

Return:

Alias to std::integral_constant<size_t, sum>.