You would appreciate D similar feature. If you run this example you can see that the macros (they are called special tokens actually in D) expand to the caller (__LINE__ gives 7).
That's very useful for logging or custom assertion functions.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.