|
KUMI v5.0.0
Gorgeous Garnet
|
Checks if two product types are equivalent. More...
Variables | |
| template<typename T, typename U> | |
| constexpr bool | kumi::is_equivalent_v = false |
Checks if two product types are equivalent.
|
inlineconstexpr |
Two product types are considered equivalent in the following case : if the two product types are concepts::record_type they need to both have the same fields, potentially in a different order. If one of the two or both are simply product_types, they are considered equivalent if their size match.
| T | The reference product type to access |
| U | the product type to check |