3#include <range/v3/range/concepts.hpp>
12template <
typename Range>
15 { std::tuple_size<std::decay_t<Range>>::value } -> std::convertible_to<std::size_t>;
18template <
typename Range>
20 using Type = std::remove_cvref_t<Range>;
21 if constexpr (std::is_array_v<Type>) {
22 return std::extent_v<Type, 0>;
24 return std::tuple_size_v<Type>;
28template <
typename Range>
Definition static_size.hpp:13
Definition asm_buffer.hpp:20
consteval std::size_t get_static_size()
Definition static_size.hpp:19
constexpr std::size_t get_static_size_or(std::size_t default_value)
Definition static_size.hpp:29