Boost logo

Boost Users :

Subject: Re: [Boost-users] Usingboost::serializationinreal-timewithoutallocating memory
From: Stefan Strasser (strasser_at_[hidden])
Date: 2009-09-21 20:25:18


Am Tuesday 22 September 2009 00:35:51 schrieb Brian Wood:
> In what way?
>
> The "Usage" section of this page,
> http://webEbenezer.net/comparison.html
>ml>, gives
> an example
> of how it's possible to produce a cleaner solution than that
> afforded by the Boost Serialization library. The Ebenezer
> approach to the bus_stop example is twelve lines less than
> the Boost Serialization approach.

that's the same approach.
code seems to be written by an external code generator instead of a c++
compiler, but there is no difference beyond that, is there?
.NET for example implements serialization based on its reflection mechanism.
it iterates at runtime through the (reflected) fields of a class and extracts
the data.
I don't think an external code generator is "cleaner".


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