mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-12 09:17:42 +00:00
PYBIND11_OVERLOAD_NAME and PYBIND11_OVERLOAD_PURE_NAME (fixes #205)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
Constructing Example12..
|
||||
Original implementation of Example12::run(state=10, value=20)
|
||||
30
|
||||
Caught expected exception: Tried to call pure virtual function "pure_virtual"
|
||||
Caught expected exception: Tried to call pure virtual function "Example12::pure_virtual"
|
||||
Constructing Example12..
|
||||
ExtendedExample12::run(20), calling parent..
|
||||
Original implementation of Example12::run(state=11, value=21)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
const char *
|
||||
c
|
||||
Failed as expected: Tried to call pure virtual function "dispatch"
|
||||
Failed as expected: Tried to call pure virtual function "Base::dispatch"
|
||||
Yay..
|
||||
[Placeholder[1], Placeholder[2], Placeholder[3], Placeholder[4]]
|
||||
[3, 5, 7, 9, 11, 13, 15]
|
||||
|
||||
Reference in New Issue
Block a user