AIX I/O failures
Mark Mitchell
mark@codesourcery.com
Thu Jan 25 14:54:00 GMT 2001
>>>>> "Gabriel" == Gabriel Dos Reis <Gabriel.Dos-Reis@cmla.ens-cachan.fr> writes:
Gabriel> Given that cout would be a global reference, we know (at
Gabriel> worst) at link time which object it is refering to and
Gabriel> treat it identical to the refered-to object.
I see, you're assuming the optimizer will remove the indirection.
I think the compiler won't do this because the definition of the
reference won't appear in the header file, in your proposal.
You're right that a link-time optimizer could in principle do this.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Libstdc++
mailing list