pybind11/docs
Jason Rhinelander 0ca96e2915 Added advanced doc section on virtual methods + inheritance
As discussed in #320.

The adds a documentation block that mentions that the trampoline classes
must provide overrides for both the classes' own virtual methods *and*
any inherited virtual methods.  It also provides a templated solution to
avoiding method duplication.

The example includes a third method (only mentioned in the "see also"
section of the documentation addition), using multiple inheritance.
While this approach works, and avoids code generation in deep
hierarchies, it is intrusive by requiring that the wrapped classes use
virtual inheritance, which itself is more instrusive if any of the
virtual base classes need anything other than default constructors.  As
per the discussion in #320, it is kept as an example, but not suggested
in the documentation.
2016-08-05 18:02:37 -04:00
..
_static documentation improvements 2016-04-26 23:48:55 +02:00
advanced.rst Added advanced doc section on virtual methods + inheritance 2016-08-05 18:02:37 -04:00
basics.rst Update docs with _a suffix notation for named arguments 2016-06-03 23:52:56 +02:00
benchmark.py Much more efficient generation of function signatures, updated docs 2016-01-17 22:31:15 +01:00
benchmark.rst documentation improvements 2016-04-28 15:32:07 +02:00
changelog.rst updated changelog with v1.8.1, updated release instructions 2016-07-12 18:03:17 +02:00
classes.rst clarification on static properties (fixes #248) 2016-06-22 13:52:31 +02:00
compiling.rst updated pbtest link 2016-06-03 14:24:17 +02:00
conf.py starting to work on release v1.9 2016-06-14 15:24:47 +02:00
faq.rst updated FAQ section on Python detection 2016-06-03 14:47:54 +02:00
index.rst minor FAQ edits, referenced cppimport project 2016-05-17 10:47:52 +02:00
intro.rst convenience wrapper for constructing iterators (fixes #142) 2016-04-14 00:23:37 +02:00
limitations.rst updated limitations section 2016-06-30 14:46:11 +02:00
Makefile took a stab at some documentation 2015-10-13 03:16:44 +02:00
pybind11_vs_boost_python1.png documentation improvements 2016-04-28 15:32:07 +02:00
pybind11_vs_boost_python1.svg Much more efficient generation of function signatures, updated docs 2016-01-17 22:31:15 +01:00
pybind11_vs_boost_python2.png documentation improvements 2016-04-28 15:32:07 +02:00
pybind11_vs_boost_python2.svg Much more efficient generation of function signatures, updated docs 2016-01-17 22:31:15 +01:00
pybind11-logo.png Very minor documentation fixes, updated logo 2016-01-17 22:31:15 +01:00
reference.rst complete rewrite of eval/exec patch 2016-07-08 10:52:10 +02:00
release.rst updated changelog with v1.8.1, updated release instructions 2016-07-12 18:03:17 +02:00