Boost logo

Boost :

Subject: Re: [boost] [C++0x] Emulation of scoped enums
From: Matt Calabrese (rivorus_at_[hidden])
Date: 2009-03-05 20:20:25


Another potential issue with using PP sequences or other preprocessor
containers is that if there is a comma in one of the initializers that isn't
surrounded by parethesis (i.e. because it refers to a template with multiple
arguments), then the user would have to provide additional parenthesis
around their expression. To people not used to the preprocessor, this is not
immediately apparent and only causes frustration because the errors produced
are far from easy to comprehend on first glance. The current interface
obviously avoids all of that.

-- 
-Matt Calabrese

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