This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Customized Allocator (on disk)
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Reza Roboubi <reza at linisoft dot com>
- Cc: Phil Edwards <pedwards at disaster dot jaj dot com>, libstdc++ at gcc dot gnu dot org
- Date: Tue, 4 Dec 2001 00:00:26 -0800 (PST)
- Subject: 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