MCPcopy 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
14constexpr int increment(int i) {
15 return i + 1;
16}
17
18static_assert(hana::lockstep(hana::plus)(to_int, increment)('3', 4) == 3 + 5, "");
19

Callers 2

partial.cppFile · 0.85
placeholder.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected