Creates a kumi::projection_map object, deducing the target type from the types of arguments.
More...
|
| template<kumi::concepts::index... Ts> |
| consteval auto | kumi::indexes (Ts...) noexcept |
Creates a kumi::projection_map object, deducing the target type from the types of arguments.
◆ indexes()
template<kumi::concepts::index... Ts>
| auto kumi::indexes |
( |
Ts... | | ) |
|
|
nodiscardconstevalnoexcept |
- Note
- The arguments should model kumi::index
- Template Parameters
-
| Ts | Zero or more indexes 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