MCPcopy Create free account
hub / github.com/boostorg/parser / tuple_or_struct_size

Function tuple_or_struct_size

include/boost/parser/parser.hpp:2954–2961  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2952
2953 template<typename T>
2954 constexpr auto tuple_or_struct_size(T && x)
2955 {
2956 if constexpr (is_tuple<remove_cv_ref_t<T>>{}) {
2957 return hl::size(x);
2958 } else {
2959 return llong<struct_arity_v<remove_cv_ref_t<T>>>{};
2960 }
2961 }
2962
2963 template<typename T>
2964 struct attr_reset

Callers 1

call_implMethod · 0.85

Calls 1

sizeFunction · 0.50

Tested by

no test coverage detected