cmoon::meta::value_list<Values...>::size





[[nodiscard]] static constexpr index_type size() noexcept;


(1)

Returns the number of values in the list.

Parameters

(none)

Return value

The number of values in the list.

Exceptions

This function never throws exceptions

Complexity

Constant.

Example



import cmoon.meta;

int main()
{
    using tl = cmoon::meta::value_list<1, 2, 3, 4>;

    static_assert(tl::size() == 4);
}