Creates a kumi::projection_map object, deducing the target type from the types of arguments.
More...
|
| template<std::convertible_to< std::size_t > auto... vs> |
| consteval auto | kumi::make_indexes () noexcept |
Creates a kumi::projection_map object, deducing the target type from the types of arguments.
◆ make_indexes()
template<std::convertible_to< std::size_t > auto... vs>
| auto kumi::make_indexes |
( |
| ) |
|
|
nodiscardconstevalnoexcept |
- Note
- The arguments should model kumi::index
- Template Parameters
-
| vs | Zero or more values convertible to size_t to construct the projection from. |
- Returns
- A kumi::projection_map constructed from the vs
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