23 Nov
2007
23 Nov
'07
9:37 a.m.
David Abrahams
I need metafunction cross_product, which should transform 2 sequences to a sequence of pairs. ... Is there a better way to do it?
Depends what your criteria for "better-ness" are.
How can I get rid of 'struct product' and implement it as one metafunction?
If you're just trying to minimize the amount of code, the above is pretty good.
Thanks you. That's what I wanted to hear. Regards, Roman Perepelitsa.