|
Boost Users : |
Subject: Re: [Boost-users] Serialization newbie, memory being overwritten?
From: Nat Linden (nat_at_[hidden])
Date: 2012-11-28 08:43:29
On Tue, Nov 27, 2012 at 11:54 PM, Lasse Laursen <gazoo_at_[hidden]> wrote:
> I'm all ears for an opinion on the approach. It would just appear to me that
> serialization is appealing to keep the code simple and still be quite
> flexible.
What about breaking out the metadata you want to serialize as a class,
or family of classes, separate from the audio data you don't need to
serialize? You could make the audio class point to an instance of the
concrete metadata class, or vice-versa, or have a holder class
reference both. In any case, the point would be to de/serialize all
fields of the metadata class.
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