
27 Sep
2004
27 Sep
'04
7:31 p.m.
"Pavel Vozenilek" <pavel_vozenilek@hotmail.com> escribió en el mensaje news:cj9oi2$cac$1@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