C++ demangler horrors

Oscar Fuentes ofv@wanadoo.es
Thu Jun 26 21:07:00 GMT 2003


Phil Edwards <phil@jaj.com> writes:

> I very much doubt if this is going to happen, for three reasons:
>
> 1)  Nobody will write a C++ replacement for vector and string.  That's just
>     unnecessary reinvention of the wheel.

Hi.

Some time ago I was forced to write a vector & string replacement. It
is not highly optimized, nor it has support for allocators, but I'm
using it on a daily basis. The string is just a vector of chars plus
the guarantee of a '\0' at the end.

If you are interested, send me the *files* (not the patches, I'm not a
gcc developer and I don't want to setup a build environment for it)
and I'll see if I can make it work.

[snip]

-- 
Oscar



More information about the Gcc mailing list