Function Names as Strings

__func__, __FUNCTION__, __PRETTY_FUNCTION__

In C++, __PRETTY_FUNCTION__ contains the type signature of the function.

See http://gcc.gnu.org/onlinedocs/gcc-4.5.2/gcc/Function-Names.html for more information.

posted @ 2011-05-05 18:08  qsort  阅读(186)  评论(0编辑  收藏  举报