KUMI v3.1.0
Exquisite Epidote
Loading...
Searching...
No Matches
kumi::builder< T > Class Template Reference

Helper structure to build the correct output product type based on the given template parameter. If the provided product type is a not a record_type the builder will output a tuple otherwise a record. One can specialize the builder for it's own type matching the product type semantic. More...

#include <kumi/utils/builder.hpp>

Detailed Description

template<typename T>
class kumi::builder< T >

Helper structure to build the correct output product type based on the given template parameter. If the provided product type is a not a record_type the builder will output a tuple otherwise a record. One can specialize the builder for it's own type matching the product type semantic.

builder provides a generic way of defining a product type. Depending on the given semantic of the input parameter (product type or record type), it will output respectively a kumi::tuple or a kumi::record.

Template Parameters
Tthe template type to be built.