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

Boost list run by bdawes at, gregod at, cpdaniel at, john at