|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-11-03 19:31:04
"Joel de Guzman" <joel_at_[hidden]> writes:
> So, we have 2 solutions:
>
> 1) provide a type_sequence<X>::type
> 2) provide an mpl::begin<X> and mpl::end<X>
>
> No. 1 is the easiest to implement. No. 2 would require some knowledge of
> mpl's tag mechanism to do easily, otherwise would require partial specialization.
> No. 2 will make X a conforming mpl type sequence.
Even No. 1 requires almost the same knowledge of a tag mechanism to
do portably. You may as well go with No. 2.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk