摘要: Stupid C++ Tricks: A better sizeof_array() 先上代码: template<typename Ty, size_t Num> char(&CountOfRequireArrayArgumentT(const Ty(&)[Num]))[Num]; #define 阅读全文
posted @ 2020-01-15 11:33 redips 阅读(281) 评论(0) 推荐(0) 编辑