mirror of
https://github.com/pybind/pybind11.git
synced 2025-02-07 09:21:55 +00:00
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. |
||
---|---|---|
.. | ||
_static | ||
advanced.rst | ||
basics.rst | ||
benchmark.py | ||
benchmark.rst | ||
classes.rst | ||
cmake.rst | ||
conf.py | ||
index.rst | ||
intro.rst | ||
Makefile | ||
pybind11_vs_boost_python1.svg | ||
pybind11_vs_boost_python2.svg | ||
pybind11-logo.png | ||
reference.rst |