CAF
0.17.6
|
Zips two lists of equal size. More...
#include <type_list.hpp>
Public Types | |
using | type = typename tl_zip_impl< tl_slice_t< ListA, 0, result_size >, tl_slice_t< ListB, 0, result_size >, Fun >::type |
Static Public Attributes | |
static constexpr size_t | sizea = tl_size<ListA>::value |
static constexpr size_t | sizeb = tl_size<ListB>::value |
static constexpr size_t | result_size = (sizea < sizeb) ? sizea : sizeb |
Zips two lists of equal size.
Creates a list formed from the two lists ListA
and ListB,
e.g., tl_zip<type_list<int, double>, type_list<float, string>>::type is type_list<type_pair<int, float>, type_pair<double, string>>.