Boost logo

Boost Users :

From: Buster (booster_at_[hidden])
Date: 2005-12-16 10:53:39


Mick Hollins wrote:
>
> The approach I use is to use Berkeley DB for transactional persistence
> of each element/object in the database, and boost::serialization for
> converting C++ objects to and from the array of bytes that is required
> by Berkeley DB. That is, I serialize at the granularity of individuals
> objects in the database, rather than serializing the whole database
> contents in one go.

Thanks, sounds like an excellent approach. I guess the only
downside is that boost::serialization can't detect duplicates
between elements, but I would imagine most implementations
are unlikely to have many of those.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net