Go to the source code of this file.
◆ ASSIGN_OR_RETURN
| #define ASSIGN_OR_RETURN |
( |
|
lhs, |
|
|
|
rexpr |
|
) |
| |
Value:
#define ASSIGN_OR_RETURN_IMPL(statusor, lhs, rexpr)
#define STATUS_MACROS_CONCAT_NAME(x, y)
Definition at line 55 of file status_macros.h.
◆ ASSIGN_OR_RETURN_IMPL
| #define ASSIGN_OR_RETURN_IMPL |
( |
|
statusor, |
|
|
|
lhs, |
|
|
|
rexpr |
|
) |
| |
Value: auto statusor = (rexpr); \
RETURN_IF_ERROR(statusor.status()); \
lhs = *std::move(statusor)
Definition at line 41 of file status_macros.h.
◆ RETURN_IF_ERROR
| #define RETURN_IF_ERROR |
( |
|
expr | ) |
|
Value: switch (0) \
case 0: \
default: \
if (const ::absl::Status status = (expr); status.ok()) { \
} else \
return ::util::StatusBuilder(status)
Definition at line 29 of file status_macros.h.
◆ STATUS_MACROS_CONCAT_NAME
◆ STATUS_MACROS_CONCAT_NAME_INNER
| #define STATUS_MACROS_CONCAT_NAME_INNER |
( |
|
x, |
|
|
|
y |
|
) |
| x##y |