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

Function print_nc

tests/test_virtual_functions.cpp:142–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140 virtual Movable get_movable(int a, int b) = 0;
141
142 std::string print_nc(int a, int b) { return get_noncopyable(a, b).get_value(); }
143 std::string print_movable(int a, int b) { return get_movable(a, b).get_value(); }
144};
145class NCVirtTrampoline : public NCVirt {

Callers

nothing calls this directly

Calls 2

get_noncopyableFunction · 0.85
get_valueMethod · 0.45

Tested by

no test coverage detected