include <type_traits>
git-commit
git-author Manuel Schiller
[git-p4: depot-paths = "//sw/gpgpu/thrust/": change = 24246096]
MODIFY
thrust/detail/type_traits/result_of_adaptable_function.h
thrust/detail/type_traits/result_of_adaptable_function.h
#include <thrust/detail/type_traits.h>
#include <thrust/detail/type_traits/function_traits.h>
-#if __cplusplus >= 201103L || defined(__cpp_lib_result_of_sfinae)
+#if __cplusplus >= 201103L
// necessary for std::result_of
#include <type_traits>
#endif
@@ -35,7 +35,7 @@ namespace detail
template<typename Signature>
struct result_of
{
- typedef typename std::result_of<Signature>::type type;
+ using type = typename std::result_of<Signature>::type;
};
#else

include <type_traits>
git-commit efb13635bbe4545ae1fb36a0deb372edc918882f
git-author Manuel Schiller <manuel.schiller@caligano.de>

[git-p4: depot-paths = "//sw/gpgpu/thrust/": change = 24246096]