Boost logo

Boost :

From: Simon Atanasyan (atanasyan_at_[hidden])
Date: 2006-10-19 07:19:39


2006/10/19, Joaquín Mª López Muñoz <joaquin_at_[hidden]>:
> Simon Atanasyan ha escrito:
>
> > 2006/10/19, Joaquín Mª López Muñoz <joaquin_at_[hidden]>:
> > > The error message can be consulted at
> > >
> > > http://tinyurl.com/yyudmt
> > >
> > > You might want to wait for the next cycle a few hours, since the current result
> > > is older than the fixes commited yeterday and it's possible that things have
> > > changed as a result.
> >
> > Good thing - the development version of Sun C++ does not contain this
> > bug. Bad thing - Sun Studio 11 with the latest patch still contains
> > this bug. I try to estimate can we fix this bug in the Sun Studio 11.
> >
>
> Hello Simon,
>
> Could you please provide me with a description of the bug i.e. why
> Sun Studio 11 can't cope with the code at rational_test.cpp? I can
> use your description to mark this as expected failure (for the moment
> being, given that we're trying to get the release out asap) and add
> an explanatory note.

The overload resolution error occurs if:
1. some class has user-defined conversion to the reference to a plain type, and
2. there is oveloading between a user-def operator and built-in one, and
3. The built-in operator takes the result of the conversion mentioned
in 1 as an operand.

I've just met with sustaining team. This fix has been backported to
Studio 11 and will be included in the next patch (number 6).

-- 
Simon Atanasyan

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk