posted @ 2020-04-28 10:51 yacbo 阅读(701) 评论(0) 推荐(0) 编辑
摘要:
从当前运行的函数中得到函数名,使用__FUNCTION__ 及相关宏。 举例如下 #include <iostream> #include <string> using namespace std; const char* hello() { return __FUNCTION__;//返回函数名 阅读全文
posted @ 2020-04-28 10:51 yacbo 阅读(701) 评论(0) 推荐(0) 编辑
posted @ 2020-04-22 16:01 yacbo 阅读(146) 评论(0) 推荐(0) 编辑
posted @ 2020-04-09 14:16 yacbo 阅读(235) 评论(0) 推荐(0) 编辑
posted @ 2020-04-03 19:32 yacbo 阅读(2396) 评论(0) 推荐(0) 编辑
posted @ 2020-01-19 14:23 yacbo 阅读(224) 评论(0) 推荐(0) 编辑
posted @ 2020-01-10 22:42 yacbo 阅读(239) 评论(0) 推荐(0) 编辑
posted @ 2019-12-30 16:14 yacbo 阅读(381) 评论(0) 推荐(0) 编辑
posted @ 2019-12-30 11:22 yacbo 阅读(198) 评论(0) 推荐(0) 编辑
posted @ 2019-12-28 10:49 yacbo 阅读(313) 评论(0) 推荐(0) 编辑
Copyright © 2024 yacbo
Powered by .NET 8.0 on Kubernetes