pybind11/tools
Dean Moldovan d079f41c26 Always use return_value_policy::move for rvalues (#510)
Fixes #509.

The move policy was already set for rvalues in PR #473, but this only
applied to directly cast user-defined types. The problem is that STL
containers cast values indirectly and the rvalue information is lost.
Therefore the move policy was not set correctly. This commit fixes it.

This also makes an additional adjustment to remove the `copy` policy
exception: rvalues now always use the `move` policy. This is also safe
for copy-only rvalues because the `move` policy has an internal fallback
to copying.
2016-11-20 05:31:02 +01:00
..
clang@254c7a91e3 cindex.py updated 2016-07-01 12:21:53 +02:00
FindEigen3.cmake transparent conversion of dense and sparse Eigen types 2016-05-05 21:44:29 +02:00
FindPythonLibsNew.cmake FindPythonLibsNew: wasn't actually setting PYTHONLIBS_FOUND contrary to specs 2016-10-09 14:12:24 +02:00
check-style.sh updated check-style.sh docs 2016-11-08 10:58:22 +01:00
libsize.py Always use return_value_policy::move for rvalues (#510) 2016-11-20 05:31:02 +01:00
mkdoc.py mkdoc.py: improved formatting of code segments and enums 2016-05-20 16:37:13 +02:00