Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SakuraEngine/SakuraEngine
/ defer
Function
defer
modules/core/base/include/SkrBase/misc/defer.hpp:35–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
33
34
template <typename F>
35
detail::defer_raii<F> defer(F&& f)
36
{
37
return { std::forward<F>(f) };
38
}
39
40
#define SKR_DEFER_ACTUALLY_JOIN(x, y) x##y
41
#define SKR_DEFER_JOIN(x, y) SKR_DEFER_ACTUALLY_JOIN(x, y)
Callers
4
scheduler_test.cpp
File · 0.85
defer_test.cpp
File · 0.85
TestEvents
Method · 0.85
TestCalls
Method · 0.85
Calls
no outgoing calls
Tested by
2
TestEvents
Method · 0.68
TestCalls
Method · 0.68