Improve documentation related to inheritance. (#1676)

* Adds section to the reference.
* Adds section to advanced classes page describing how to use `get_overload`.
This commit is contained in:
Ivor Wanders
2019-06-10 16:12:28 -04:00
committed by Wenzel Jakob
parent 492da592c2
commit 2b045757b5
4 changed files with 121 additions and 4 deletions

View File

@@ -86,6 +86,21 @@ Python built-in functions
.. doxygengroup:: python_builtins
:members:
Inheritance
===========
See :doc:`/classes` and :doc:`/advanced/classes` for more detail.
.. doxygendefine:: PYBIND11_OVERLOAD
.. doxygendefine:: PYBIND11_OVERLOAD_PURE
.. doxygendefine:: PYBIND11_OVERLOAD_NAME
.. doxygendefine:: PYBIND11_OVERLOAD_PURE_NAME
.. doxygenfunction:: get_overload
Exceptions
==========