KUMI v5.0.0
Gorgeous Garnet
Loading...
Searching...
No Matches
kumi::function::size_or_v

If T is a kumi::product_type, returns its number of elements, and V otherwise. More...

Variables

template<typename T, auto V>
constexpr auto kumi::function::size_or_v = V

Detailed Description

If T is a kumi::product_type, returns its number of elements, and V otherwise.

Variable Documentation

◆ size_or_v

template<typename T, auto V>
auto kumi::function::size_or_v = V
inlineconstexpr
Template Parameters
Ttype to inspect
Vfallback value

Helper value

template<typename T, auto V> inline constexpr std::size_t size_or_v = size_or<T,V>::value;
constexpr auto size_or_v
Definition monadic.hpp:29