Skip to content

Commit 83784c7

Browse files
committed
Another workaround removed
1 parent eb95df3 commit 83784c7

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

include/xtensor/core/xvectorize.hpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,9 @@ namespace xt
5454
template <class F, class R, class... Args>
5555
xvectorizer<F, R> vectorize(F&& f, R (*)(Args...));
5656

57-
// Workaround for Visual Studio 15.7.1.
58-
// Error C2668 (ambiguous call to overloaded function) mistaking a declarations
59-
// for the definition of another overload.
60-
#ifndef _MSC_VER
6157
template <class F>
6258
auto vectorize(F&& f)
6359
-> decltype(vectorize(std::forward<F>(f), std::declval<detail::get_function_type<F>*>()));
64-
#endif
6560

6661
/******************************
6762
* xvectorizer implementation *

0 commit comments

Comments
 (0)