gcc-2.95 and SGI STL 3.2

Benjamin Kosnik bkoz@cygnus.com
Wed Jun 30 15:43:00 GMT 1999


> After some thought given to the subject of <string>, I don't think
> anymore that every operation needs mutex locking, but only those which
> deal with the ref counter. My guess is these operations are the same as
> those explicitly marked in the Standard to invalidate references,
> pointers and iterators (21.3/5).


This is exactly what I would think as well. These include the non-const at,
operator[], begin, end, rbegin, and rend. I'll need to take a look at the
article before I know for sure.

-Benjamin




More information about the Gcc mailing list