nixd
|
Go to the source code of this file.
Macros | |
#define | CheckReturn(x, Ret) |
Used for simplify early-returns. | |
#define | CheckDefault(x) |
Variant of CheckReturn , but returns default constructed CheckTy | |
#define CheckDefault | ( | x | ) |
Variant of CheckReturn
, but returns default constructed CheckTy
Definition at line 16 of file CheckReturn.h.
#define CheckReturn | ( | x, | |
Ret ) |
Used for simplify early-returns.
const auto *foo = checkReturn(get(), nullptr)
Definition at line 6 of file CheckReturn.h.