xieite::type_list<Ts...>::zip<>

Defined in fragment xieite:type_list
(header-only: <xieite/meta/type_list.hpp>)


Zips the elements of a xieite::type_list with other types.


Declaration

template<typename... Us>
requires(sizeof...(Ts) == sizeof...(Us))
using zip = /* xieite::type_list<???> */;


Example

import std;
import xieite;

int main() {
	using List = xieite::type_list<int, char, float>::zip<double, void, bool>;

	xieite::dump(xieite::name<List>());
}
Possible output:
xieite::type_list<xieite::type_list<int, double>, xieite::type_list<char, void>, xieite::type_list<float, bool>>
[View in Compiler Explorer]