42 static_assert(
sizeof...(Entries) > 0,
"Values<> must list at least one entry");
45 using owner_t = std::tuple_element_t<0, entries_t>::owner_t;
47 static_assert((std::same_as<typename Entries::owner_t, owner_t> && ...),
48 "All entries in tagval::Values must share the same owner");
51 "tagval::Values: duplicate code in entry list");
54 static constexpr bool contains = (std::same_as<E, Entries> || ...);
56 static constexpr std::size_t
size =
sizeof...(Entries);
Compile-time Entry NTTP and the runtime-view TagValMetadata struct.