Skip to content

Commit

Permalink
Fix MSVC 2015 Update 3 ICE
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf authored and inducer committed Dec 16, 2017
1 parent bbcac4f commit d428d36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/c_wrapper/function.h
Expand Up @@ -75,9 +75,11 @@ class ArgPack : public _ArgPackBase<Convert, Types...> {
template<template<typename...> class Getter, int... S>
PYOPENCL_INLINE auto
__get(seq<S...>)
#ifndef _MSC_VER
-> decltype(std::tuple_cat(
ensure_tuple(Getter<ArgConvert<Types> >::get(
std::get<S>(*(tuple_base*)this)))...))
#endif
{
return std::tuple_cat(
ensure_tuple(Getter<ArgConvert<Types> >::get(
Expand Down

0 comments on commit d428d36

Please sign in to comment.