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: Customized Allocator (on disk)


Phil Edwards wrote:

> On Fri, Nov 16, 2001 at 03:53:30AM -0800, Reza Roboubi wrote:
> > Is there any standard way to create a customized allocator so that it
> > operates on the disk directly?
>
> The only "standard" thing that allocators must do is have certain public
> members.  After that, /how/ they do their job is entirely up to you.
> It's also off-topic to this list; I suggest asking on comp.unix.programmer
> or a related mailing list.

You should read my  question more carefully.  I am already familiar with the STL
standard.  I asked my question in the following spirit:

Can the GNU implementation initialize objects such as hashes directly using an
abstract pointer (e.g. located on disk?)  If not, then what is the proper way to
_add_ such support?

If I have time, I would like to add or help add such support to the GNU
implementation of STL.

This is essentially the ability to create a hash ON THE DISK.   An ability that
appears _lacking_ from the STL standard.  Its addition would  make the GNU
implementation great for certain database applications.  And it should be easy to
add.

My question is related to developing code for the GNU _implementation_ of STL.   I
am under the impression that it is _fully_ relevant to this list.  If not,  then
please change the information on  your  web site which misled me.

PS:  I might need to talk about this issue with the GNU-STL __developers__ again
in the future.   If this list is not right,  then which one is??  My question is
not an STL_STANDARD_SPECIFICATION_HOWTO_FOR_PROGRAMMERS.  Rather,  it is about
_adding_ features to / specific features of the GNU implementation which could be
highly desirable to a general audience.  I need to coordinate this with the people
who wrote the actual GNU code;  no-one else.

--
Reza Roboubi
Software Development Consultant
www.linisoft.com




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