mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-28 08:02:00 +00:00
parent
a50125ff85
commit
ae6f095991
@ -17,7 +17,7 @@ public:
|
|||||||
ExampleVirt(int state) : state(state) { print_created(this, state); }
|
ExampleVirt(int state) : state(state) { print_created(this, state); }
|
||||||
ExampleVirt(const ExampleVirt &e) : state(e.state) { print_copy_created(this); }
|
ExampleVirt(const ExampleVirt &e) : state(e.state) { print_copy_created(this); }
|
||||||
ExampleVirt(ExampleVirt &&e) : state(e.state) { print_move_created(this); e.state = 0; }
|
ExampleVirt(ExampleVirt &&e) : state(e.state) { print_move_created(this); e.state = 0; }
|
||||||
~ExampleVirt() { print_destroyed(this); }
|
virtual ~ExampleVirt() { print_destroyed(this); }
|
||||||
|
|
||||||
virtual int run(int value) {
|
virtual int run(int value) {
|
||||||
py::print("Original implementation of "
|
py::print("Original implementation of "
|
||||||
|
Loading…
Reference in New Issue
Block a user