pybind11/docs
Dean Moldovan 2b4477eb65 Make TypeErrors more informative when an optional header is missing
E.g. trying to convert a `list` to a `std::vector<int>` without
including <pybind11/stl.h> will now raise an error with a note that
suggests checking the headers.

The note is only appended if `std::` is found in the function
signature. This should only be the case when a header is missing.
E.g. when stl.h is included, the signature would contain `List[int]`
instead of `std::vector<int>` while using stl_bind.h would produce
something like `MyVector`. Similarly for `std::map`/`Dict`, `complex`,
`std::function`/`Callable`, etc.

There's a possibility for false positives, but it's pretty low.
2017-09-12 08:06:46 +02:00
..
_static documentation improvements 2016-04-26 23:48:55 +02:00
advanced Added function for reloading module (#1040) 2017-09-12 08:05:05 +02:00
basics.rst Update build commands for Linux / OS X in the docs (#907) 2017-08-30 21:58:43 +02:00
benchmark.py Replace PYBIND11_PLUGIN with PYBIND11_MODULE 2017-05-29 03:21:19 +02:00
benchmark.rst Replace PYBIND11_PLUGIN with PYBIND11_MODULE 2017-05-29 03:21:19 +02:00
changelog.rst Make TypeErrors more informative when an optional header is missing 2017-09-12 08:06:46 +02:00
classes.rst Document automatic upcasting of polymorphic types (#654) 2017-07-23 03:36:08 +02:00
compiling.rst Update build commands for Linux / OS X in the docs (#907) 2017-08-30 21:58:43 +02:00
conf.py updated version flags for next version 2017-08-31 14:01:08 +02:00
Doxyfile Fix documentation build 2017-08-17 15:10:51 +02:00
faq.rst Compile with hidden visibility always; set via cmake property rather than compiler flag 2017-08-14 11:44:17 -04:00
index.rst Add upgrade guide to the documentation 2017-08-21 01:12:45 +02:00
intro.rst Make non-ancient version of GCC explicit in documentation (it means 4.8+) (#575) 2016-12-28 12:10:11 +01:00
limitations.rst Multiple inheritance support 2016-09-19 13:45:31 +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 Utility for redirecting C++ streams to Python (#1009) 2017-08-25 02:12:43 +02:00
release.rst fix release.rst instructions for conda-forge SHA checksum 2017-08-31 23:05:47 +02:00
requirements.txt Fix readthedocs build (#721) 2017-03-12 22:36:48 +01:00
upgrade.rst Add upgrade guide entry about stricter compile-time checks 2017-09-04 23:01:34 +02:00