| 199 | ) |
| 200 | def 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 |
| 208 | self.movable = m.Movable(a, b) |
| 209 | return self.movable |
| 210 | |
| 211 | class NCVirtExt2(m.NCVirt): |
| 212 | def get_noncopyable(self, a, b): |
no outgoing calls