"Fernando Cacciola" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I've fixed Optional for MSV6.0
> Once the regression tests are updated, I'll see if I can fix it for the
> other compilers too.
>
I'm looking at the new regression tests. VC6.0 finally works, but not so
VC7.0
I don't have VC >=7.0, so I'm trying to guess the problem.
Could someone with access to vc7.0/7.1 try the following and report the
compiler output? My guess is that vc7.0 (at least) still has problems when
both non-template and (explicit?) template copy-ctors are present.
template<class T>
struct X
{
X ( X const& ) ;
template<class U> X ( X<U> const& ) ;
} ;
template<class T>
struct Y
{
Y ( Y const& ) ;
explicit template<class U> Y ( Y<U> const& ) ;
} ;
void eat ( X ) ;
void eat ( Y ) ;
int main()
{
X<int> x1 ;
X<int> x2 = x1;
eat(x1);
Y<int> y1 ;
Y<int> y2 = y1;
eat(y1);
}
TIA,
--
Fernando Cacciola
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost