Boost logo

Boost :

Subject: Re: [boost] [C++0x] Emulation of scoped enums
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2009-03-05 15:32:34


Phil Endecott wrote:

> - The user needs to spell out the macro if they declare a variable; can
> this be avoided?

I believe that if you use scoped enums, algae will be the name of the
enum, otherwise algae is going to be the name of the namespace the num
is in.
Which is why the macro is required.


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