|
KUMI v5.0.0
Gorgeous Garnet
|
Callable object converting a product type of product type into a single product type recursively, or returns the input. More...
Variables | |
| constexpr compress_t | kumi::compress {} |
Callable object converting a product type of product type into a single product type recursively, or returns the input.
|
inlineconstexprnodiscard |
This construction naturally arises from the definition of product types, a product type of the form T(T(x...)) is strictly equivalent to T(x...) as long as the T is the same type.
On record types, the names of the outer record are concatenated to the inner ones ultimately constructing names such as "outer.inner". If the input is a product type containing record types or vice versa only the inner types matching the outer semantic will be compressed. Thus a record inside a tuple will not be compressed.
Computes the return type of a call to kumi::compress