Boost logo

Boost :

From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2007-03-13 15:08:30


"Steven Watanabe" <steven_at_[hidden]> wrote

> The definition of BOOST_TYPEOF_NESTED_TYPEDEF
> includes a semicolon at the end. It should act like a normal statement.

There was a discussion in the past about whether or not such macros should
contain semicolons. There was no agreement on this. We decided to include
semicolons in typeof macros, where possible. This way it can be used with
or without semicolon at the end.

Of course this is not related to BOOST_TYPEOF or BOOST_AUTO, but
BOOST_TYPEOF_REGISTER_XXX macros, for example, all contain semicolons at the
end.

Regards,
Arkadiy


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