pybind11/include/pybind11
Jason Rhinelander 6db60cd945 Deprecated borrowed/stolen for borrowed_t{}/stolen_t{} (#771)
The constexpr static instances can cause linking failures if the
compiler doesn't optimize away the reference, as reported in #770.

There's no particularly nice way of fixing this in C++11/14: we can't
inline definitions to match the declaration aren't permitted for
non-templated static variables (C++17 *does* allows "inline" on
variables, but that obviously doesn't help us.)

One solution that could work around it is to add an extra inherited
subclass to `object`'s hierarchy, but that's a bit of a messy solution
and was decided against in #771 in favour of just deprecating (and
eventually dropping) the constexpr statics.

Fixes #770.
2017-03-29 00:23:37 +02:00
..
attr.h Support class-specific operator new and delete 2017-03-22 19:28:04 +01:00
cast.h Support class-specific operator new and delete 2017-03-22 19:28:04 +01:00
chrono.h Fix for floating point durations 2017-03-11 23:04:16 -04:00
class_support.h Support class-specific operator new and delete 2017-03-22 19:28:04 +01:00
common.h updated version information for v2.2 development 2017-03-22 22:20:07 +01: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 WIP: PyPy support (#527) 2016-12-16 15:00:46 +01: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 Nicer API to pass py::capsule destructor (#752) 2017-03-22 22:04:00 +01:00
pytypes.h Deprecated borrowed/stolen for borrowed_t{}/stolen_t{} (#771) 2017-03-29 00:23:37 +02: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