From 05cdcd4f9a7f0451cc9a0de71ac6ebf6281ebd84 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Wed, 18 Oct 2006 08:51:14 +0000 Subject: [PATCH] #ifdef'ed a partial specialization that is probably redundant and generates an ICE for VC++ --- Number_types/include/CGAL/Root_of_2.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Number_types/include/CGAL/Root_of_2.h b/Number_types/include/CGAL/Root_of_2.h index fbe47372a9f..6db3b71402a 100644 --- a/Number_types/include/CGAL/Root_of_2.h +++ b/Number_types/include/CGAL/Root_of_2.h @@ -915,6 +915,9 @@ struct Binary_operator_result , T2> typedef Root_of_2 type; }; +// af: I am not sure that the following specializations are needed. +// In fact they lead to an ICE of VC++ +#ifndef _MSC_VER template < typename RT > struct Binary_operator_result , typename Root_of_traits::RootOf_1 > { @@ -926,7 +929,7 @@ struct Binary_operator_result ::RootOf_1, Root_of_2< { typedef Root_of_2 type; }; - +#endif template < typename RT > Root_of_2