Creates a kumi::projection_map object, deducing the target type from the types of arguments.
More...
|
| template<kumi::concepts::identifier... Ts> |
| consteval auto | kumi::identifiers (Ts...) noexcept |
Creates a kumi::projection_map object, deducing the target type from the types of arguments.
◆ identifiers()
template<kumi::concepts::identifier... Ts>
| auto kumi::identifiers |
( |
Ts... | | ) |
|
|
nodiscardconstevalnoexcept |
- Note
- The arguments should model kumi::identifier
- Template Parameters
-
| Ts | Zero or more identifiers to construct the projection from. |
- Returns
- A kumi::projection_map constructed from the ts
Examples:
#include <kumi/kumi.hpp>
#include <iostream>
using namespace kumi::literals;
int main()
{
}
consteval auto identifiers(Ts...) noexcept
Definition projections.hpp:195
consteval auto indexes(Ts...) noexcept
Definition projections.hpp:149
A stateless, compile-time schema for product type transformation.
Definition projections.hpp:50