|
Boost : |
From: Andrei Alexandrescu (andrewalex_at_[hidden])
Date: 2001-11-26 12:01:43
From: "Hamish Mackenzie" <boost_at_[hidden]>
> On Mon, 2001-11-26 at 16:26, Andrei Alexandrescu wrote:
> > Exactly. Typelists need to be instantiable because that is of help in
> > passing them around to overloaded functions.
>
> But if they contain no members you might as well pass null pointers or
> use the static_arg pattern I outlined in my other post.
Yes, but why if you can do it the more natural way?
Where in boost is static_arg? The type_manip.hpp header I submitted offers
duplicated functionality through type2type.
Andrei
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk