This is the mail archive of the libstdc++@gcc.gnu.org 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]
Other format: [Raw text]

Re: rope in libstdc++


On Thu, Aug 09, 2007 at 12:16:02AM +0100, Jonathan Wakely wrote:
> On 09/08/2007, Joe Buck <Joe.Buck@synopsys.com> wrote:
> > On Wed, Aug 08, 2007 at 03:57:38PM -0700, Brendan Miller wrote:
> > > Supposedly libstdc++ contains a rope class inherited from stlport. How
> > > do I access this?
> > >
> > > #include <rope>
> > >
> > > fails.
> >
> > #include <ext/rope>
> >
> 
> but take note of note http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#5_4
> 
> The rope template is in namespace __gnu_cxx these days.

Right, sorry I forgot that.  As for the other question Jonathan asked,
both the STLport and libstdc++ versions of "rope" are based on the SGI
rope code; the former has lots of cruft to make it highly portable,
the latter is designed to fit in with libstdc++, and g++ users should
use the libstdc++ version.




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