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

Method get_noncopyable

tests/test_virtual_functions.py:202–204  ·  view source on GitHub ↗
(self, a, b)

Source from the content-addressed store, hash-verified

200def test_move_support():
201 class NCVirtExt(m.NCVirt):
202 def get_noncopyable(self, a, b):
203 # Constructs and returns a new instance:
204 return m.NonCopyable(a * a, b * b)
205
206 def get_movable(self, a, b):
207 # Return a referenced copy

Callers

nothing calls this directly

Calls 1

NonCopyableMethod · 0.80

Tested by

no test coverage detected