Commit dbdb0964 authored by ESTERIE Pierre's avatar ESTERIE Pierre

Remove decltype for intel compiler in c++14

parent cbcf3609
......@@ -80,9 +80,11 @@ auto for_each_in_tuple_impl(inria::index_sequence<Is...>, Tuple&& t, F&& func, A
*/
template<class Tuple, class F, class... Args>
auto for_each_in_tuple(Tuple&& t, F&& func, Args&& ... args)
#ifndef __INTEL_COMPILER
-> decltype(for_each_in_tuple_impl(
inria::make_index_sequence<std::tuple_size<typename std::decay<Tuple>::type>::value>(),
std::forward<Tuple>(t), std::forward<F>(func), std::forward<Args>(args)...))
#endif
{
return for_each_in_tuple_impl(
inria::make_index_sequence<std::tuple_size<typename std::decay<Tuple>::type>::value>(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment