
13 Mar
2007
13 Mar
'07
7:08 p.m.
"Steven Watanabe" <steven@providere-consulting.com> 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