¡@

Home 

c++ Programming Glossary: type_pair

How to create the Cartesian product of a type list?

http://stackoverflow.com/questions/9122028/how-to-create-the-cartesian-product-of-a-type-list

struct type_list template typename T1 typename T2 struct type_pair template typename T typename... Rest struct row typedef type_list.. typename T typename... Rest struct row typedef type_list type_pair T Rest ... type template typename... T struct cross_product.. g std c 0x cross_product.cpp . a.out type_list type_list type_pair int int type_pair int float type_pair int short type_list type_pair..