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:
parent
3a89c4689c
commit
ed74d0efc4
1 changed files with 8 additions and 0 deletions
|
@ -45,7 +45,11 @@ namespace Loki
|
|||
|
||||
ForEachTypeImpl( Callable& callable ) : ForEachTypeImpl<Tail, Callable>(callable)
|
||||
{
|
||||
#ifdef _MSC_VER
|
||||
callable.operator()<value, Head>();
|
||||
#else
|
||||
callable.template operator()<value, Head>();
|
||||
#endif
|
||||
}
|
||||
|
||||
};
|
||||
|
@ -60,7 +64,11 @@ namespace Loki
|
|||
|
||||
ForEachTypeImpl( Callable& callable )
|
||||
{
|
||||
#ifdef _MSC_VER
|
||||
callable.operator()<value, Head>();
|
||||
#else
|
||||
callable.template operator()<value, Head>();
|
||||
#endif
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue