std::basic_string<> and threads - patch

Benjamin Kosnik bkoz@cygnus.com
Sat Apr 1 00:00:00 GMT 2000


> #if 1
>    // enable reference counting
>    enum _State {_S_initialstate = 0};
> #else
>    // disable reference counting
>    enum _State {_S_initialstate = -1};
> #endif
> 
> Perhaps we should define a macro for this case.

_PTHREADS? Or are you talking about some kind of autconf macro when
--enable-threads=yes is turned on?

-Benjamin



More information about the Libstdc++ mailing list