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]
Other format: [Raw text]

Re: STL problem


"Timothy J. Wood" wrote:
> 
>    The STL that is in the gcc repository has (I'm looking at Apple's gcc3
> project, but I assume this is the case in the real repository too since
> it isn't marked 'APPLE LOCAL') ...
> 
>    const charT* c_str () const
>      { if (length () == 0) return ""; terminate (); return data (); }

You led me on a wild header chase! :-)  This is from the old
libstdc++'s std/bastring.h.  We scrubbed this from Apple's gcc3 when
the old library was deleted last year; perhaps it's somehow found a
refuge in your checkout?  In any case, libstdc++-v3 is the home
of the current library.

Stan


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