cin/cout as reference objects [Re: AIX I/O failures]

Phil Edwards pedwards@disaster.jaj.com
Sat Jan 27 13:47:00 GMT 2001


On Thu, Jan 25, 2001 at 08:33:29PM -0800, Mark Mitchell wrote:
> >>>>> "Phil" == Phil Edwards <pedwards@disaster.jaj.com> writes:
> 
> Nope.  The as-if rule is going to fail for:
> 
>   typeid (cout) == typeid (ostrea)
> 
> if you do that.

D'oh!  Good point.  Thanks.


>     Phil> I thought one of the goals of 3.0 was to provide for this
>     Phil> kind of compatibility?  A final change for all time, or at
>     Phil> least for the next several years?
> 
> For the C++ ABI, yes.  For the library ABI, I think that's overly
> ambitious.

Bummer.  It feels like we're snatching defeat from the jaws of victory. :-)


Phil

-- 
pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.


More information about the Libstdc++ mailing list