Boost logo

Boost :

From: Fernando Cacciola (fernando_cacciola_at_[hidden])
Date: 2004-09-27 14:31:44


"Pavel Vozenilek" <pavel_vozenilek_at_[hidden]> escribió en el mensaje
news:cj9oi2$cac$1_at_sea.gmane.org...
>
> "Fernando Cacciola" wrote:
>
> > Probably fixed too, but I can't tell.
> >
> > The problem is that BCB5.6.4 accepts:
> >
> > short v = 1 ;
> > short& rv = 2 ;
> > int& ri = rv ; // Temporary created here
> >
> > I just changed the "short" for "double" in the hope that being a
narrowing
> > conversion it won't do it.
> >
> >
> Still fails. BCB actually wrongly allows a non const
> reference to bind to a temporary sometimes
> and gives a warning (sometimes?) when it does.
>
Ouch.

> I tried some simple ways to work it around but
> it would likely require changes in optional inheritance
> structure.
>
Oh, well, we can discuss them.
Maybe I can put them in _after_ the release.

Fernando Cacciola
SciSoft


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