KUMI v4.0.0
Flawless Fluorite
Loading...
Searching...
No Matches
kumi::concepts::uniquely_labeled Concept Reference

Concept specifying if a parameter pack only holds kumi::concepts::field with no duplicate kumi::str representation of their respective names. More...

#include <kumi/utils/concepts.hpp>

Detailed Description

Concept specifying if a parameter pack only holds kumi::concepts::field with no duplicate kumi::str representation of their respective names.

Concept definition

template<typename... Ts>
concept uniquely_labeled =
(sizeof...(Ts) == 0) ||
(kumi::all_uniques_v<std::integral_constant<kumi::str, std::remove_cvref_t<Ts>::label()>...>))
Concept specifying if parameter pack is only composed of kumi::concepts::field.
Definition concepts.hpp:296
Concept specifying if a parameter pack only holds kumi::concepts::field with no duplicate kumi::str r...
Definition concepts.hpp:326
constexpr bool all_uniques_v
Checks if a parameter pack only contains distinct types.
Definition traits.hpp:500
Static string used to create named fields.
Definition str.hpp:24