pybind11/include/pybind11
Sebastian Gsänger a83d69e78f test pair-copyability on C++17 upwards (#1886)
* test pair-copyability on C++17 upwards

The stdlib falsely detects containers like M=std::map<T, U>
as copyable, even when one of T and U is not copyable.
Therefore we cannot rely on the stdlib dismissing std::pair<T, M>
by itself, even on C++17.

* fix is_copy_assignable

bind_map used std::is_copy_assignable which suffers from the same problems
as std::is_copy_constructible, therefore the same fix has been applied.

* created tests for copyability
2019-10-31 12:38:24 +01:00
..
detail begin working on next version 2019-10-15 01:58:43 +02:00
attr.h type_record: Uninit Member (#1658) 2019-06-10 22:02:40 +02:00
buffer_info.h misleading comment corrected (strides in buffer_info is bytes and not number of entries) (#1958) 2019-10-18 17:55:17 +02:00
cast.h test pair-copyability on C++17 upwards (#1886) 2019-10-31 12:38:24 +01:00
chrono.h Added ability to convert from datetime.date to system_clock::time_point (#1848) 2019-07-19 11:28:48 +02:00
common.h Add a dummy common.h header with a deprecation warning 2017-09-06 15:22:26 +02:00
complex.h Add -Wdeprecated to test suite and fix associated warnings (#1191) 2017-11-22 17:37:41 -04:00
eigen.h stl.h: propagate return value policies to type-specific casters (#1455) 2018-07-17 16:56:26 +02:00
embed.h Fix build with -Wmissing-prototypes (#1954) 2019-10-17 10:43:33 +02:00
eval.h Force hidden visibility on pybind code 2017-08-14 11:40:38 -04:00
functional.h Replace a usage of C++14 language features with C++11 code (#1833) 2019-07-10 10:13:56 +02:00
iostream.h quiet clang warning by adding default move ctor (#1821) 2019-07-15 16:16:14 +02:00
numpy.h Remove usage of C++14 constructs (fixes #1929) 2019-09-21 19:03:14 +02:00
operators.h Access C++ hash functions from Python and vice versa (#1034) 2017-08-30 14:22:00 +02:00
options.h Move internal headers into detail subdirectory 2017-08-17 04:06:35 +02:00
pybind11.h Obey __cpp_sized_deallocation and __cpp_aligned_new 2019-10-22 11:02:11 +02:00
pytypes.h Add const to buffer:request() (#1890) 2019-08-27 17:05:47 +02:00
stl_bind.h test pair-copyability on C++17 upwards (#1886) 2019-10-31 12:38:24 +01:00
stl.h Adds type_caster support for std::deque. (#1609) 2018-11-16 06:45:19 +01:00