This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc-2.95 and SGI STL 3.2


>>>>> "Martin v. Loewis" <martin@mira.isdn.cs.tu-berlin.de>:

>> >> STL 3.2 has one very important advantage (at least in things I'm
>> >> involved in) - it is thread-safe.
> [which class?]
>> <string>, see the thread starting with
>> http://egcs.cygnus.com/ml/egcs-bugs/1999-04/msg00771.html

> In that case, updating STL won't give you anything: gcc does not use
> <string> from STL. I don't know what the rationale is,

The native g++ <string> uses refcounting.  The SGI STL <string> always
does a deep copy.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]