Provide a general-purpose proctor object for scope-exit logic.
More...
Go to the source code of this file.
Detailed Description
Define Documentation
#define BDLB_SCOPEEXIT_NOEXCEPT_SPEC |
( |
|
... |
) |
|
#define BDLB_SCOPEEXIT_PROCTOR |
( |
|
NAME, |
|
|
|
EXIT_FUNC | |
|
) |
| | BloombergLP::bdlb::ScopeExitAny NAME((EXIT_FUNC)) |
#define BDLB_SCOPEEXIT_PRIVATE_CAT |
( |
|
X, |
|
|
|
Y | |
|
) |
| | BDLB_SCOPEEXIT_PRIVATE_CAT_IMP(X, Y) |
#define BDLB_SCOPEEXIT_PRIVATE_CAT_IMP |
( |
|
X, |
|
|
|
Y | |
|
) |
| | X##Y |
#define BDLB_SCOPEEXIT_PRIVATE_UNIQNUM __LINE__ |
This macro is for use by BDLB_SCOPEEXIT_GUARD
only to provide unique variable names. It is not undefined by the end of the file but its direct use is not supported under any circumstances.
#define BDLB_SCOPEEXIT_GUARD |
( |
|
EXIT_FUNC |
) |
|