If I have a class named SomeClassName, can I avoid writing SomeClassName:: everytime I am referring to something in that class? I am thinking along the lines of namespace where I can enclose the definitions in using MyNamespace { ... }; and avoid writing the namespace the class is under every time (bad practice?).
One of the reasons is that now I have code like this, which is quite long and hard to read imo:
SomeClassName::SimpleStruct SomeClassName::m_someTable[SomeClassName::m_someTableSize][SomeClassName::m_someTableSize] = {SomeClassName::EmptyStruct};
No, but you can shorten the name with a typedef, if all you are after is less typing: