Boost logo

Boost Users :

From: Roman Perepelitsa (roman.perepelitsa_at_[hidden])
Date: 2007-11-23 04:37:34


David Abrahams <dave <at> boost-consulting.com> writes:
> > 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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net