Boost logo

Boost :

From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2007-04-14 20:10:01


"Douglas Gregor" <doug.gregor_at_[hidden]> wrote

> > I think the concept of variable preprocess is useful, if
> > Boost.Typeof or Boost.Bind use that, these code they need would be
> > less than copying same codes.
>
> Or you could just use variadic templates, which eliminate the
> preprocessor entirely and are likely to be included in C++0x.
>
> http://www.osl.iu.edu/~dgregor/cpp/variadic-templates.html

I think that a compiler that supports variadic templates would most likely
support typeof directly, so I doubt typeof emulation will ever benefit from
this cool feature :)

Regards,
Arkadiy


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk