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

Concept specifying if a product type can be queried via a get<identifier>. More...

#include <kumi/utils/concepts.hpp>

Detailed Description

Concept specifying if a product type can be queried via a get<identifier>.

A type T models queryable_by_identifier if it's a kumi::concepts::product_type with it's element modeling kumi::concepts::uniquely_named and a field with the same identifier as the template parameter Id can be found inside.

Concept definition

template<typename Id, typename T>
identifier<Id> && product_type<T> && []<std::size_t... I>(std::index_sequence<I...>) {
return kumi_implementation_defined;
}(std::make_index_sequence<size_v<T>>{})
Concept specifying a type represent an identifier.
Definition concepts.hpp:193
Concept specifying a type follows the Product Type semantic.
Definition concepts.hpp:87
Concept specifying if a product type can be queried via a get<identifier>.
Definition concepts.hpp:470