I'd like to have a private static constant for a class (in this case a shape-factory).
I'd like to have something of the sort.
class A {
private:
static const string RECTANGLE = "rectangle";
}
This discloses to me that this kind of part configuration isn't agreeable with the norm. How would you have a private strict consistent (or maybe open) without utilizing a #define order (I need to stay away from the ugliness of information globality!)
Any help is appreciated.