 Microsoft Visual C++ uses this technique in its Microsoft Foundation Classes.There are some ways to extend this method to avoid using macro redefinition while still able to display the file/line information on some platforms.There are many inherent limitations to this method.