This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: auto_ptr in egcs-1.0.1 ?
- To: Oleg Krivosheev <kriol at FNAL dot GOV>, "Munagala V. S. Ramanath" <ram at netcom dot com>
- Subject: Re: auto_ptr in egcs-1.0.1 ?
- From: "Matt Austern" <austern at isolde dot mti dot sgi dot com>
- Date: Fri, 9 Jan 1998 16:06:53 -0800
- Cc: egcs at cygnus dot com, stl at SGI dot com
- References: <Pine.GSO.3.96.980109174939.12654A-100000@drabble.fnal.gov>
- Reply-to: austern at SGI dot com
We've enabled auto_ptr, using the FDIS specification, in our internal
version. The only reason we haven't released it yet is that we've
been making other changes too, and we're not quite ready yet for another
release. It'll be a fairly major release, actually. (Some rather big
bug fixes in ropes, a standard-conforming basic_string<> class,
a bitset<> class, and support for standard-conforming allocators
with non-equal instances.)
We had to compromise just a bit with auto_ptr, since the FDIS
specification runs into compiler bugs on lots of different front
ends, including EDG. However, that's not a terribly big deal; most
compilers permit binding a non-const reference to a temporary (although
some compilers complain a bit), so, on compilers that can't handle the
tricky template conversion stuff, we just use the more straightforward
version from CD-1. It's technically illegal, but it'll work for the
moment.
I'd be interested in hearing about bugs in auto_ptr in the latest released
version, though. They may not apply to the auto_ptr that we now have,
of course, but it's undoubtedly worth looking at.
--Matt Austern