#ifdef'ed a partial specialization that is probably redundant and generates an ICE for VC++

This commit is contained in:
Andreas Fabri 2006-10-18 08:51:14 +00:00
parent 92da39d4b0
commit 05cdcd4f9a
1 changed files with 4 additions and 1 deletions

View File

@ -915,6 +915,9 @@ struct Binary_operator_result <Root_of_2<T1>, T2>
typedef Root_of_2<T1> 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 <Root_of_2<RT>, typename Root_of_traits<RT>::RootOf_1 >
{
@ -926,7 +929,7 @@ struct Binary_operator_result <typename Root_of_traits<RT>::RootOf_1, Root_of_2<
{
typedef Root_of_2<RT> type;
};
#endif
template < typename RT >
Root_of_2<RT>