pybind11/example
Wenzel Jakob b2c2c79240 improved handling of shared/smart pointers
Previously, pybind11 required classes using std::shared_ptr<> to derive
from std::enable_shared_from_this<> (or compilation failures would ensue).

Everything now also works for classes that don't do this, assuming that
some basic rules are followed (e.g. never passing "raw" pointers of
instances manged by shared pointers). The safer
std::enable_shared_from_this<> approach continues to be supported.
2016-01-17 22:31:15 +01:00
..
example1.cpp Fix typographical error 2015-12-14 16:00:58 +09:00
example1.py support for ancient Python versions (2.7.x) 2015-09-04 23:49:23 +02:00
example1.ref updated reference output 2015-10-01 17:13:38 +02:00
example2.cpp added new type pybind11::bytes, cleanup of various macros (fixes #49) 2016-01-17 22:31:15 +01:00
example2.py Improved STL support, support for std::set 2015-11-14 19:04:49 +01:00
example2.ref generic integer type handling 2015-11-30 12:45:34 +01:00
example3.cpp last breaking change: be consistent about the project name 2015-10-15 18:23:56 +02:00
example3.py Fix for radd/rsub/rmul/rdiv operator convenience wrappers 2015-09-11 17:09:47 +02:00
example3.ref updated reference output 2015-10-01 17:13:38 +02:00
example4.cpp added new type pybind11::bytes, cleanup of various macros (fixes #49) 2016-01-17 22:31:15 +01:00
example4.py added new type pybind11::bytes, cleanup of various macros (fixes #49) 2016-01-17 22:31:15 +01:00
example4.ref added new type pybind11::bytes, cleanup of various macros (fixes #49) 2016-01-17 22:31:15 +01:00
example5.cpp last breaking change: be consistent about the project name 2015-10-15 18:23:56 +02:00
example5.py install a cleanup handler for nontrivial lambda closures 2015-10-13 17:46:27 +02:00
example5.ref type of void fixed (None -> NoneType) 2016-01-17 22:31:15 +01:00
example6.cpp last breaking change: be consistent about the project name 2015-10-15 18:23:56 +02:00
example6.py support for ancient Python versions (2.7.x) 2015-09-04 23:49:23 +02:00
example6.ref updated reference output 2015-10-01 17:13:38 +02:00
example7.cpp keyword argument support, removed last traces of std::function<> usage 2015-07-29 23:39:11 +02:00
example7.py appveyor CI script 2015-10-18 18:01:33 +02:00
example7.ref updated reference output 2015-10-01 17:13:38 +02:00
example8.cpp improved handling of shared/smart pointers 2016-01-17 22:31:15 +01:00
example8.py improved handling of shared/smart pointers 2016-01-17 22:31:15 +01:00
example8.ref improved handling of shared/smart pointers 2016-01-17 22:31:15 +01:00
example9.cpp added module::import statement 2015-10-13 23:44:25 +02:00
example9.py added module::import statement 2015-10-13 23:44:25 +02:00
example9.ref added module::import statement 2015-10-13 23:44:25 +02:00
example10.cpp last breaking change: be consistent about the project name 2015-10-15 18:23:56 +02:00
example10.py appveyor CI script 2015-10-18 18:01:33 +02:00
example10.ref updated reference output 2015-10-01 17:13:38 +02:00
example11.cpp Much more efficient generation of function signatures, updated docs 2016-01-17 22:31:15 +01:00
example11.py Much more efficient generation of function signatures, updated docs 2016-01-17 22:31:15 +01:00
example11.ref type of void fixed (None -> NoneType) 2016-01-17 22:31:15 +01:00
example12.cpp consistent macro naming throughout the project 2015-10-18 16:48:30 +02:00
example12.py support for overriding virtual functions 2015-10-01 17:13:35 +02:00
example12.ref updated reference output 2015-10-01 17:13:38 +02:00
example13.cpp keep_alive call policy (analogous to Boost.Python's with_custodian_and_ward, fixes #62) 2016-01-17 22:31:15 +01:00
example13.py keep_alive call policy (analogous to Boost.Python's with_custodian_and_ward, fixes #62) 2016-01-17 22:31:15 +01:00
example13.ref keep_alive call policy (analogous to Boost.Python's with_custodian_and_ward, fixes #62) 2016-01-17 22:31:15 +01:00
example.cpp keep_alive call policy (analogous to Boost.Python's with_custodian_and_ward, fixes #62) 2016-01-17 22:31:15 +01:00
example.h last breaking change: be consistent about the project name 2015-10-15 18:23:56 +02:00
object.h Initial commit 2015-07-09 15:27:32 +02:00
run_test.py added new type pybind11::bytes, cleanup of various macros (fixes #49) 2016-01-17 22:31:15 +01:00