|
From: <syn...@us...> - 2009-11-21 10:54:28
|
Revision: 1063
http://loki-lib.svn.sourceforge.net/loki-lib/?rev=1063&view=rev
Author: syntheticpp
Date: 2009-11-21 10:54:19 +0000 (Sat, 21 Nov 2009)
Log Message:
-----------
msvc doesn't understand this C++
Modified Paths:
--------------
trunk/include/loki/ForEachType.h
Modified: trunk/include/loki/ForEachType.h
===================================================================
--- trunk/include/loki/ForEachType.h 2009-11-21 10:47:12 UTC (rev 1062)
+++ trunk/include/loki/ForEachType.h 2009-11-21 10:54:19 UTC (rev 1063)
@@ -45,7 +45,11 @@
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 @@
ForEachTypeImpl( Callable& callable )
{
+#ifdef _MSC_VER
callable.operator()<value, Head>();
+#else
+ callable.template operator()<value, Head>();
+#endif
}
};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|