腾讯云618特惠专场

文章列表

Python-like C++ decorators(类 Python C++ 装饰器)
Macros in the middle of a class or function declaration(类或函数声明中间的宏)
Strange behaviour of macros C/C++(宏 C/C++ 的奇怪行为)
#define SQR(x) x*x. Unexpected Answer(#define SQR(x) x*x.意外的答案)
Retrieving a c++ class name programmatically(以编程方式检索 C++ 类名)
C/C++: How to use the do-while(0); construct without compiler warnings like C4127?(C/C++: 如何使用 do-while(0);构造没有像 C4127 这样的编译器警告?)
Creating a string list and an enum list from a C++ macro(从 C++ 宏创建字符串列表和枚举列表)
Is it possible to place a macro in a namespace in c++?(是否可以在 C++ 的命名空间中放置一个宏?)
Can this macro be converted to a function?(这个宏可以转换成函数吗?)
Common macro to read input data and check its validity(读取输入数据并检查其有效性的通用宏)