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

Function get_noncopyable

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

Source from the content-addressed store, hash-verified

137 NCVirt() = default;
138 NCVirt(const NCVirt &) = delete;
139 virtual NonCopyable get_noncopyable(int a, int b) { return NonCopyable(a, b); }
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(); }

Callers 1

print_ncFunction · 0.85

Calls 1

NonCopyableClass · 0.85

Tested by

no test coverage detected