Home
last modified time | relevance | path

Searched refs:ExampleVirt (Results 1 – 2 of 2) sorted by relevance

/external/python/pybind11/tests/
Dtest_virtual_functions.cpp16 class ExampleVirt { class
18 ExampleVirt(int state) : state(state) { print_created(this, state); } in ExampleVirt() function in ExampleVirt
19 ExampleVirt(const ExampleVirt &e) : state(e.state) { print_copy_created(this); } in ExampleVirt() function in ExampleVirt
20 ExampleVirt(ExampleVirt &&e) : state(e.state) { print_move_created(this); e.state = 0; } in ExampleVirt() function in ExampleVirt
21 virtual ~ExampleVirt() { print_destroyed(this); } in ~ExampleVirt()
44 class PyExampleVirt : public ExampleVirt {
46 using ExampleVirt::ExampleVirt; /* Inherit constructors */
52 ExampleVirt, /* Parent class */ in run()
61 ExampleVirt, /* Parent class */ in run_bool()
71 ExampleVirt, /* Parent class */ in pure_virtual()
[all …]
Dtest_virtual_functions.py11 class ExtendedExampleVirt(m.ExampleVirt):
37 ex12 = m.ExampleVirt(10)
82 cstats = ConstructorStats.get(m.ExampleVirt)