现在的位置: 首页 > 综合 > 正文

Function Names as Strings

2012年10月19日 ⁄ 综合 ⁄ 共 191字 ⁄ 字号 评论关闭

__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.

抱歉!评论已关闭.