This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

Re: can I use SGI STL string class under g++/libstdc++?



I thought the two bits were:

1) stl/stl_alloc.h: -- for now, works with _PTHREADS defined 
2) bits/bastring.h: release() -- needs the port to v3.

...

??

(the port seems pretty straightforward)

In anycase, I don't think ref counting will make a difference in the 
stringstream classes. You can just run "make check" with the modified 
string class , and if things start failing then it's obvious that 
something is not right.

-benjamin


On Fri, 4 Feb 2000 ncm@zembu.com wrote:

> On Fri, Feb 04, 2000 at 03:55:51PM -0800, David Baraff wrote:
> > Is anything really terrible going to happen if I turn off reference
> > counting in your string class?  I need it to be MT-safe.
> 
> You can use the SGI string class instead.  I misdoubt it's compatible 
> with stringstream, but I don't know of any other problems.
> 
> Nathan Myers
> ncm@cantrip.org
> 

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