removed EIGEN_HAS_CXX11_* and redundant EIGEN_COMP_CXXVER checks

This commit is contained in:
Erik Schultheis
2021-11-29 19:18:57 +00:00
committed by Rasmus Munk Larsen
parent 9d3ffb3fbf
commit f33a31b823
27 changed files with 22 additions and 400 deletions

View File

@@ -568,17 +568,10 @@ template<typename T> struct smart_memmove_helper<T,false> {
}
};
#if EIGEN_HAS_RVALUE_REFERENCES
template<typename T> EIGEN_DEVICE_FUNC T* smart_move(T* start, T* end, T* target)
{
return std::move(start, end, target);
}
#else
template<typename T> EIGEN_DEVICE_FUNC T* smart_move(T* start, T* end, T* target)
{
return std::copy(start, end, target);
}
#endif
/*****************************************************************************
*** Implementation of runtime stack allocation (falling back to malloc) ***