Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/async_simple
/ TEST
Function
TEST
async_simple/util/test/MoveOnlyFunctionTest.cpp:27–30 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
25
namespace util {
26
27
TEST(move_only_function, empty) {
28
move_only_function<int(int)> f;
29
EXPECT_THROW(f(2), std::bad_function_call);
30
}
31
32
int test_for_move_only(int i) { return i; }
33
Callers
nothing calls this directly
Calls
1
f
Function · 0.85
Tested by
no test coverage detected