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: std::ext STL (was: Re: design doc on alternative pointer support)


"Paolo Carlini" <paolo.carlini@oracle.com> wrote in message 
31269735.1217585525637.JavaMail.oracle@acsmt301.oracle.com">news:31269735.1217585525637.JavaMail.oracle@acsmt301.oracle.com...
> Hi,
>
>> In regards to licensing it is queued and on its way.
>
> Great. Remember to keep the libstdc++ maintainers up to date about the 
> iter, because FSF does *not* do that automatically.

Ok I've finally signed and mailed the contract back to FSF.  They should get 
it soon so that means we can study this task more closely and share freely 
the code.  Once again the primilary patch files can be found at the 
following location:
https://svn.boost.org/svn/boost/sandbox/shifted_ptr/bits/

Moreover I have revised my allocator and although the member functions 
aren't finalized yet the typedefs are the ones I would like to stick with 
given my pointer's special needs to have a pointer to an object of type 
shifted<T> as a constructor parameter:
https://svn.boost.org/svn/boost/sandbox/shifted_ptr/boost/shifted_allocator.hpp

Finally we are discussing some new container type that can be added fairly 
easily into Libstdc++.  It would consist of a container being made of 
already existing STL containers altogether.  For example:
supercontainer<int, vector, map, list> c;

... would define a container of integers but having direct raw access with 
the vector::operator [], O(log n) searching capabilities of a map plus the 
ordering of a list.  The nodes will have to be adapted and so is 
vector::operator [] for remapping indices to actual range of iterators 
(because of possible insertion in the middle of consecutive nodes created by 
the vector constructor)...


Regards,
-Phil




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