From: Fernando Cacciola (fernando_cacciola_at_[hidden])
Date: 2004-09-27 14:31:44
"Pavel Vozenilek" <pavel_vozenilek_at_[hidden]> escribió en el mensaje
> "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
> > 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.
> I tried some simple ways to work it around but
> it would likely require changes in optional inheritance
Oh, well, we can discuss them.
Maybe I can put them in _after_ the release.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk