Boost logo

Boost :

From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2005-12-28 16:34:08


"Cromwell Enage" <sponage_at_[hidden]> wrote

> * The BOOST_MPL_AUX_TYPEOF_REGISTER_TYPE_C macro,
> defined in
> <boost/mpl/aux_/typeof/register_type_c.hpp>

Hmmm, I am kind of surprised it is working...

I can see two problems here:

1) BOOST_TYPEOF_REGISTER_[...] macros depend on the __LINE__, and so can't
be used directly with BOOST_PP_ENUM, etc., and

2) These macros internally use BOOST_PP_ENUM, which I don't think is
re-entrant...

Regards,
Arkadiy


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