Customized Allocator (on disk)
Benjamin Kosnik
bkoz@redhat.com
Tue Dec 4 00:00:00 GMT 2001
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
More information about the Libstdc++
mailing list