No, that is not what it is.
When you see a declaration like this inside a class
char *flagstr(int);
it declares a member function called flagstr
which takes one argument of type int
, and returns a pointer to character.
You can tell that you are looking at a function declaration, because there is a pair of parentheses after the name. It may be confusing, because the parameter name is omitted (C++ syntax rules do not require programmers to specify names of parameters in declarations; moreover, you can omit names of unused parameters in function definitions). Here is the same declaration that should look familiar:
char *flagstr(int flagValue);