Boost has a special utility macro called BOOST_CURRENT_FUNCTION that hides the differences between the compiler implementations.
Following it’s implementation we see that there are several macros depending on compiler:
__PRETTY_FUNCTION__— GCC, MetroWerks, Digital Mars, ICC, MinGW__FUNCSIG__— MSVC__FUNCTION__— Intel and IBM__FUNC__— Borland__func__— ANSI C99