C++ demangler horrors
H. J. Lu
hjl@lucon.org
Thu Jun 26 21:13:00 GMT 2003
On Thu, Jun 26, 2003 at 10:25:24PM +0200, Oscar Fuentes wrote:
> 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.
>
Here is it is. Just untar and do
# ./configure
# make
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: demangler.tar.gz
Type: application/x-gzip
Size: 51625 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20030626/14e9fa86/attachment.bin>
More information about the Gcc
mailing list