Boost logo

Boost :

From: Calum Grant (calum_at_[hidden])
Date: 2005-10-05 15:44:32


> On 10/05/2005 01:34 PM, Jose wrote:
> [snip]
> > 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
> priority.
> > 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.

Calum


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk