MCPcopy Create free account
hub / github.com/pybind/pybind11 / f2

Function f2

tests/test_constants_and_functions.cpp:53–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51int f1(int x) noexcept { return x + 1; }
52#endif
53int f2(int x) noexcept(true) { return x + 2; }
54int f3(int x) noexcept(false) { return x + 3; }
55PYBIND11_WARNING_PUSH
56PYBIND11_WARNING_DISABLE_GCC("-Wdeprecated")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected