>From: "Paul Mensonides" <[EMAIL PROTECTED]>
>
> > Just my 2 cents.
>
> Make that 3 cents...
>
> In summary, enumerations are distinct types and therefore can interfere
with
> the rest of the language.  Particularly, constant expressions,
overloading,
> operator overloading, template type deduction, etc..  Personally, I think
> that is a strong case *against* using enumerations.

I agree.

And since there are techniques for making out-of-class definitions easier
(and automatic), which may be instantiated if needed, like you showed, then
static const seems clearly best.


Regards,

Terje

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to