Le 26/03/13 10:20, Richard PALO a écrit :
Le 25/03/13 14:12, Apostolos Syropoulos a écrit :


I would think that is not what you want, rather why not push the enums
into a namespace...



The "obvious" solution does not work, unless of course you have something
different in your mind. Please elaborate!


A.S.


----------------------
Apostolos Syropoulos
Xanthi, Greece

I believe that a worthy largescale c++ program should define any enums
in a particular namespace which subsequently can be used to uniquely
identify them.

It is possibly already the case, but that the namespace is not prefixed
to the enumeration value identifier.

Another thing to check perhaps is if there is any "using" clause prior
to the declaration that spews...



Another thing, what minimal version of c++ is required, there is also something now called an 'enum class' (since c++0x and now c++11)...


-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to