There is a bug on windows that gives the following error:
1>c:\dev\bug928987\src\util\stl_util.h(315): error C2995: 'std::enable_if<std::tr1::is_signed<_Ty>::value&&std::tr1::is_signed<N2>::value,bool>::type zorba::ztd::ge_min(N1,N2)' : function template has already been defined
1> c:\dev\bug928987\src\util\stl_util.h(306) : see declaration of 'zorba::ztd::ge_min'
1>c:\dev\bug928987\src\util\stl_util.h(329): error C2995: 'std::enable_if<std::tr1::is_unsigned<_Ty>::value&&std::tr1::is_signed<N2>::value,bool>::type zorba::ztd::ge_min(N1,N2)' : function template has already been defined
1> c:\dev\bug928987\src\util\stl_util.h(320) : see declaration of 'zorba::ztd::ge_min'
1>c:\dev\bug928987\src\util\stl_util.h(343): error C2995: 'std::enable_if<std::tr1::is_signed<_Ty>::value&&std::tr1::is_signed<N2>::value,bool>::type zorba::ztd::le_max(N1,N2)' : function template has already been defined
1> c:\dev\bug928987\src\util\stl_util.h(334) : see declaration of 'zorba::ztd::le_max'
1>c:\dev\bug928987\src\util\stl_util.h(357): error C2995: 'std::enable_if<std::tr1::is_unsigned<_Ty>::value&&std::tr1::is_signed<N2>::value,bool>::type zorba::ztd::le_max(N1,N2)' : function template has already been defined
1> c:\dev\bug928987\src\util\stl_util.h(348) : see declaration of 'zorba::ztd::le_max'
The error is described here: stackoverflow. com/questions/ 9285657/ sfinae- differentiation -between- signed- and-unsigned
http://
seems that is an error in the compiler, so the solution is a workaround until the compiler is fixed.