title: Is there a way to know the name of class from which a method of an object is being called in C++?
body: <p>Suppose in a method MA() of class A, a method MB() of class B is being called after creation of an object. Is there a way to know in MB() the name of the class and the method from which it is being called in C++ ??</p>