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.

你可能感兴趣的:(html,C++,c,gcc,C#)