|
Boost : |
From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-07-14 15:52:39
Arkadiy Vertleyb wrote:
> One more option (probably an overkill):
>
> #ifdef (BOOST_USE_TRAILING_SEMICOLON)
> # define BOOST_TRAILING_SEMICOLON ;
> #else
> # define BOOST_TRAILING_SEMICOLON
> #endif
>
> Now end all your macro definitions with BOOST_TRAILING_SEMICOLON
> instead of ';', and the user can change the style with just one
> [un]define.
This would mean that in every code example using one of these macros, you'd have
to add a note about BOOST_TRAILING_SEMICOLON.
Jonathan
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk