Get pybind11 test suite to compile on the Intel compiler (more or less..)

- ICPC can't handle the NCVirt trampoline which returns a non-copyable
  type, which is likely due to a constexpr/SFINAE issue. This disables
  the test on that compiler so that at least the rest can be tested.
This commit is contained in:
Wenzel Jakob
2016-08-25 01:43:33 +02:00
parent ce55683084
commit 1ffce7422d
4 changed files with 20 additions and 15 deletions

View File

@@ -46,8 +46,7 @@ void bind_ConstructorStats(py::module &m) {
.def_readwrite("move_assignments", &ConstructorStats::move_assignments)
.def_readwrite("copy_constructions", &ConstructorStats::copy_constructions)
.def_readwrite("move_constructions", &ConstructorStats::move_constructions)
.def_static("get", (ConstructorStats &(*)(py::object)) &ConstructorStats::get, py::return_value_policy::reference_internal)
;
.def_static("get", (ConstructorStats &(*)(py::object)) &ConstructorStats::get, py::return_value_policy::reference_internal);
}
PYBIND11_PLUGIN(pybind11_tests) {