In C++ I have defined a class that has this as a member
static const std::basic_string<TCHAR> MyClass_;
There is also a getter function for this value
LPCTSTR CClass::GetMyClassName()
{
return MyClass_.c_str();
}
When I create an instance of this class and then try and access it intellisense pops up but the name has been changed depending on whether the project has been compiled for Unicode or Multibyte. If it has been compiled for Unicode the function appears as.
aClass.GetMyClassNameW();
else it is
aClass.GetMyClassNameA();
What I'd like to know is how is the name getting changed? Also I would like to know is it possible for intellisense to show the correct name of the function? So that I can access it like this.
aClass.GetMyClassName()
EDIT: The precise member fucntion name i've used in my code is.
WinClass::GetClassName()