__func__ in C++
é¢æ°åãå¾ããã¯ã __func__ 㯠C99 ã§ã¹ã¿ã³ãã¼ãã«ãªã£ãããã ã, C++ ã§ã¯ã¹ã¿ã³ãã¼ããªãã ããã ?
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1642.html
ãã®è¨äºã§ã¯ã¾ã ã®ããã ã, ãã以éã®å±éãåãããªã.
gcc ã§ã¯ C++ ã§ã __func__ ã使ããã, ãªã«ãã, __PRETTY_FUNCTION__ ã¨ããã®ã使ãã.
http://gcc.gnu.org/onlinedocs/gcc/Function-Names.html
__PRETTY_FUNCTION__ ã¯ã¯ã©ã¹åã¨ã·ã°ããã£ã¾ã§ã¤ãã¦ãããããããããã¹ãã ãã©, gcc ç¬èªã ãã.
open-std.org ã®è¨äºã®éã, C++ ã¯ãããã°ç°å¢ã®æ´åãæ¬ ãã¦ãã¾ãã.