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)



This is not a trivial subject, so you might want to come back to it when 
you can devote your full attention to it.

In the meantime, you might want to search the web or even look in a 
library for references to object persistence. There are several libraries 
that already do this, namely ACE I believe, but there are also many java 
libraries that deal with this as well. 

As an aside:

Chapters 17-27 of the C++ standard are usually called the C++ library, or 
C++ standard library. "STL" is actually a part of this library, yet not 
the entire thing. 

You might want to consider looking at the libstdc++-v3 doxygen pages to 
help you understand the GNU code. 

Implementing object persistence in STL containers might be possible with 
the Allocator template parameter: this is the obvious choice, but perhaps 
not the best one. 

-benjamin


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