mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 14:45:12 +00:00
a83d69e78f
* 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 |
||
---|---|---|
.. | ||
pybind11 |