Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2001-06-28 06:44:15


>Have I missed something?

1) The static const type version has a real type, not as some enum type -
this can be important for template argument deduction for eg.
2) There is one compiler (Borland's) that sometimes doesn't treat template
class scope enum's as integral constant expressions (or does but gets their
value wrong when used at compile time), where as the corresponding static
const int declaration does work.

- John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/


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