mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
parent
ce9d6e2c0d
commit
e763f04689
@ -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