Is it possible to indicate that a class function you are calling is static?
class Point
{
std::string name;
public:
Point(){}
static void DisplayName() { std::cout << "Point" << std::endl;}
};
int main()
{
Point.DisplayName(); //this doesn't indicate the the member function is static
//maybe something like this:
//static_call(Point.DisplayName()); //just to indicate to the reader that this call makes sense without an instance of the class
}
There are several times where I dont remember even in my own code that I am calling a static function.
Thanks,
Dave