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

Method get_movable

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

Source from the content-addressed store, hash-verified

204 return m.NonCopyable(a * a, b * b)
205
206 def get_movable(self, a, b):
207 # Return a referenced copy
208 self.movable = m.Movable(a, b)
209 return self.movable
210
211 class NCVirtExt2(m.NCVirt):
212 def get_noncopyable(self, a, b):

Callers

nothing calls this directly

Calls 1

MovableMethod · 0.80

Tested by

no test coverage detected