Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/hana
/ increment
Function
increment
example/functional/lockstep.cpp:14–16 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
12
}
13
14
constexpr int increment(int i) {
15
return i + 1;
16
}
17
18
static_assert(hana::lockstep(hana::plus)(to_int, increment)(
'3'
, 4) == 3 + 5,
""
);
19
Callers
2
partial.cpp
File · 0.85
placeholder.cpp
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected