Jolt Physics
A multi core friendly Game Physics Engine
|
#include <Jolt/Core/NonCopyable.h>
Go to the source code of this file.
Classes | |
class | ScopeExit< F > |
Class that calls a function when it goes out of scope. More... | |
Macros | |
#define | JPH_SCOPE_EXIT_TAG2(line) scope_exit##line |
#define | JPH_SCOPE_EXIT_TAG(line) JPH_SCOPE_EXIT_TAG2(line) |
#define | JPH_SCOPE_EXIT(...) ScopeExit JPH_SCOPE_EXIT_TAG(__LINE__)(__VA_ARGS__) |
Usage: JPH_SCOPE_EXIT([]{ code to call on scope exit });. | |
#define JPH_SCOPE_EXIT | ( | ... | ) | ScopeExit JPH_SCOPE_EXIT_TAG(__LINE__)(__VA_ARGS__) |
Usage: JPH_SCOPE_EXIT([]{ code to call on scope exit });.
#define JPH_SCOPE_EXIT_TAG | ( | line | ) | JPH_SCOPE_EXIT_TAG2(line) |
#define JPH_SCOPE_EXIT_TAG2 | ( | line | ) | scope_exit##line |