Re: rope in libstdc++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 09, 2007 at 12:16:02AM +0100, Jonathan Wakely wrote:
> On 09/08/2007, Joe Buck <Joe.Buck@xxxxxxxxxxxx> 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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux