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>
Concept specifying a type represent an identifier.
Definition concepts.hpp:183
Concept specifying a type follows the Product Type semantic.
Definition concepts.hpp:76
Concept specifying if a product type can be queried via a get<identifier>.
Definition concepts.hpp:469
consteval auto can_query()
Concept specifying if a product type can be queried via a get<type>.
Definition concepts.hpp:448