Extracts the common product_type of a parameter pack. More...
#include <kumi/utils/builder.hpp>
Extracts the common product_type of a parameter pack.
If all the types are record types then it returns an empty record type, otherwise returns an empty product type. As we are unable to compute the Least Restrictive Subtype of a pack, this trait should be specialized for each case one would want to write. In the library, it is specialized for kumi::concepts::product_type and kumi::concepts::record_type. It is used in algorithm taking multiple product types as input in order to determine the correct output type.
| Ts | The product types to access |