This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [RFC] libstdc++/6720 and libstdc++/6671
On Tue, May 21, 2002 at 08:26:21PM +0200, Gabriel Dos Reis wrote:
> Neil Booth <neil@daikokuya.demon.co.uk> writes:
> |
> | I don't agree with your solution of special-casing certain header names,
>
> It is not me who is special-casing certain header names. That special
> meaning of certain headers are built into the language. Failure to
> provide the expected meaning is failure to implement the language.
> Actually, what I'm suggesting is not an invention in the area of
> compiler builduing. Existing compilers do deliver that standard
> meaning (actually, they have integrated meaning ofthe headers).
I just had this conversation with another colleague yesterday; we agreed
that a compiler would be Really Really Cool if it saw
#include <vector>
and then turned all std::vector operations into builtin array operations,
i.e., with no actual .h files involved anywhere. Open-coding the entire
vector class.
(We also decided that debugging this would be a PITA.)
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams