pybind11/include/pybind11
Jason Rhinelander 501135fa76 Add static_assert to holder casters
The holder casters assume but don't check that a `holder<type>`'s `type`
is really a `type_caster_base<type>`; this adds a static_assert to make
sure this is really the case, to turn things like
`std::shared_ptr<array>` into a compilation failure.

Fixes #785
2017-04-08 10:55:51 -04:00
..
attr.h Replace first_of_t with exactly_one_t 2017-04-03 00:52:47 +02:00
cast.h Add static_assert to holder casters 2017-04-08 10:55:51 -04:00
chrono.h Fix for floating point durations 2017-03-11 23:04:16 -04:00
class_support.h Fix overriding static properties in derived classes 2017-04-07 22:41:46 +02:00
common.h Replace first_of_t with exactly_one_t 2017-04-03 00:52:47 +02:00
complex.h Made arithmetic and complex casters respect convert 2017-02-03 20:16:14 -05:00
descr.h std::valarray support for stl.h (#545) 2016-12-08 00:43:29 +01:00
eigen.h Nicer API to pass py::capsule destructor (#752) 2017-03-22 22:04:00 +01:00
eval.h Support raw string literals as input for py::eval (#766) 2017-03-29 00:27:56 +02:00
functional.h Fixed compilation error when binding function accepting some forms of std::function (#689) 2017-02-22 20:00:59 +01:00
numpy.h Deprecated borrowed/stolen for borrowed_t{}/stolen_t{} (#771) 2017-03-29 00:23:37 +02:00
operators.h Multiple inheritance support 2016-09-19 13:45:31 +02:00
options.h Provide more control over automatic generation of docstrings (#486) 2016-11-15 12:38:05 +01:00
pybind11.h Replace first_of_t with exactly_one_t 2017-04-03 00:52:47 +02:00
pytypes.h Remove object::borrowed/stolen 2017-04-06 18:31:21 -04:00
stl_bind.h remove all pybind11 namespace prefixes from stl_bind.h 2017-03-16 11:44:01 +01:00
stl.h WIP: PyPy support (#527) 2016-12-16 15:00:46 +01:00
typeid.h minor cleanups in common.h; updated author info and copyright year 2016-04-18 10:53:38 +02:00