#include "MRMacros.h"
#include <utility>
Go to the source code of this file.
|
| namespace | MR |
| | only for bindings generation
|
| namespace | MR::detail |
◆ DETAIL_MR_FINALLY
| #define DETAIL_MR_FINALLY |
( |
| type_ | ) |
|
Value:
#define MR_CONCAT(a, b)
Concat strings.
Definition MRMacros.h:17
Definition MRFinally.h:73
If no exceptions.
◆ MR_FINALLY
Usage: MR_FINALLY{...};. Runs the code in braces when exiting the current scope, either normally or via an exception.
◆ MR_FINALLY_ON_SUCCESS
If no exceptions.
When exceptions are disabled, this is equivalent to MR_FINALLY.
◆ MR_FINALLY_ON_THROW
| #define MR_FINALLY_ON_THROW (void)[&]() |
When exceptions are disabled, this is a noop.