libcopp
2.2.0
|
导入继承关系约束
Licensed under the MIT licenses.
More...
Go to the source code of this file.
Macros | |
#define | PARAM_IN |
#define | PARAM_OUT |
#define | PARAM_INOUT |
#define | EXPLICIT_DEPRECATED_ATTR |
deprecated, 标记为不推荐使用 usage: EXPLICIT_DEPRECATED_ATTR int a; class EXPLICIT_DEPRECATED_ATTR a; EXPLICIT_DEPRECATED_ATTR int a(); usage: EXPLICIT_DEPRECATED_MSG("there is better choose") int a; class DEPRECATED_MSG("there is better choose") a; EXPLICIT_DEPRECATED_MSG("there is better choose") int a(); More... | |
#define | EXPLICIT_DEPRECATED_MSG(msg) |
#define | EXPLICIT_NODISCARD_ATTR |
nodiscard, 标记禁止忽略返回值 usage: EXPLICIT_NODISCARD_ATTR int a; class EXPLICIT_NODISCARD_ATTR a; EXPLICIT_NODISCARD_ATTR int a(); More... | |
#define | EXPLICIT_UNUSED_ATTR |
maybe_unused, 标记忽略unused警告 usage: EXPLICIT_UNUSED_ATTR int a; class EXPLICIT_UNUSED_ATTR a; EXPLICIT_UNUSED_ATTR int a(); More... | |
#define | EXPLICIT_FALLTHROUGH |
fallthrough, 标记忽略switch内case的无break警告 usage: EXPLICIT_FALLTHROUGH int a; switch (xxx) { case XXX: EXPLICIT_FALLTHROUGH More... | |
导入继承关系约束
Licensed under the MIT licenses.
@history
Definition in file explicit_declare.h.
#define EXPLICIT_DEPRECATED_ATTR |
deprecated, 标记为不推荐使用 usage: EXPLICIT_DEPRECATED_ATTR int a; class EXPLICIT_DEPRECATED_ATTR a; EXPLICIT_DEPRECATED_ATTR int a(); usage: EXPLICIT_DEPRECATED_MSG("there is better choose") int a; class DEPRECATED_MSG("there is better choose") a; EXPLICIT_DEPRECATED_MSG("there is better choose") int a();
Definition at line 71 of file explicit_declare.h.
#define EXPLICIT_DEPRECATED_MSG | ( | msg | ) |
Definition at line 87 of file explicit_declare.h.
#define EXPLICIT_FALLTHROUGH |
fallthrough, 标记忽略switch内case的无break警告 usage: EXPLICIT_FALLTHROUGH int a; switch (xxx) { case XXX: EXPLICIT_FALLTHROUGH
Definition at line 163 of file explicit_declare.h.
#define EXPLICIT_NODISCARD_ATTR |
nodiscard, 标记禁止忽略返回值 usage: EXPLICIT_NODISCARD_ATTR int a; class EXPLICIT_NODISCARD_ATTR a; EXPLICIT_NODISCARD_ATTR int a();
Definition at line 110 of file explicit_declare.h.
#define EXPLICIT_UNUSED_ATTR |
maybe_unused, 标记忽略unused警告 usage: EXPLICIT_UNUSED_ATTR int a; class EXPLICIT_UNUSED_ATTR a; EXPLICIT_UNUSED_ATTR int a();
Definition at line 133 of file explicit_declare.h.
#define PARAM_IN |
Definition at line 27 of file explicit_declare.h.
#define PARAM_INOUT |
Definition at line 43 of file explicit_declare.h.
#define PARAM_OUT |
Definition at line 35 of file explicit_declare.h.