
16 Feb
2005
16 Feb
'05
3:19 p.m.
I'm using BOOST_CURRENT_FUNCTION; I couldn't tell you quickly which header/library that comes from though.
You get it in the header <boost/current_function.hpp>. Some compilers have macros similar to __LINE__ and __FILE__ for the function signature but these macros are not standardized. So BOOST_CURRENT_FUNCTION makes use of the non-standard macros where possible and resolves to "(unknown)" otherwise. John