From: Calum Grant (calum_at_[hidden])
Date: 2005-10-05 15:44:32
> On 10/05/2005 01:34 PM, Jose wrote:
> > Serialize tables is nice and many memory-based apps can benefit but
> > for most databases persistence is a must.
> > I agree with previous statement that persistence is the top
> > RML has tackled this with a separate persist library that
> provides the
> > persistent STL containers.
> Why can't the existing boost serialize library be used
> instead of a separate persist library?
RML is not a Boost library - it uses standard streams to serialize data.
It's as simple as
file << table1 << table2 << table3;
file >> table1 >> table2 >> table3;
The reason for persist is to make loading/saving faster.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk