msvc doesn't understand this C++

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1063 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2009-11-21 10:54:19 +00:00
parent 3a89c4689c
commit ed74d0efc4

View file

@ -45,7 +45,11 @@ namespace Loki
ForEachTypeImpl( Callable& callable ) : ForEachTypeImpl<Tail, Callable>(callable) ForEachTypeImpl( Callable& callable ) : ForEachTypeImpl<Tail, Callable>(callable)
{ {
#ifdef _MSC_VER
callable.operator()<value, Head>(); callable.operator()<value, Head>();
#else
callable.template operator()<value, Head>();
#endif
} }
}; };
@ -60,7 +64,11 @@ namespace Loki
ForEachTypeImpl( Callable& callable ) ForEachTypeImpl( Callable& callable )
{ {
#ifdef _MSC_VER
callable.operator()<value, Head>(); callable.operator()<value, Head>();
#else
callable.template operator()<value, Head>();
#endif
} }
}; };