October 20th, 2013, 03:12 PM
As I follow what 2kaud said, it's OK. Thanks a lot.
October 20th, 2013, 02:35 PM
Thank you very much for your explanation 2kaud.
What I would like is the same as enum class that you can write in VS2012. It's interesting because you can manage same names in enumeration.
Note: as...
October 20th, 2013, 01:23 PM
I thought that VA is A type and that's I want. I cannot use enum class ... because I use VS2010
October 20th, 2013, 12:36 PM
Sorry for the tags I was looking for #.
location is defined to be A type and A::VA too. So where is the problem ? Should I use overloaded operator ?
Regards
October 20th, 2013, 11:27 AM
Here are the files :
A.h
#ifndef A_H
#define A_H
class A
{
public:
October 19th, 2013, 04:21 PM
Hi !
I defined a class :
class A
{
public:
enum : char { VA, VB, VC };
};