|
Boost : |
From: Robert Ramey (ramey_at_[hidden])
Date: 2006-02-27 12:31:22
This looks pretty good to me. I would prefer to see the following:
a) the stream/archive lines removed from the top
b) and #inlcude <.. ublas.hpp>
c) a name change to boost/sublas/serialization.hpp
d) tests, etc.
This way boost/ublas/serialization.hpp could be included in
any program which uses ublas. Then ublas data could be
serialized to any archive type.
Robert Ramey
Neal Becker wrote:
> Here is the code I use to serialize ublas vector:
> #include <sstream>
> #include <boost/archive/binary_oarchive.hpp>
> #include <boost/archive/binary_iarchive.hpp>
> #include <boost/serialization/split_free.hpp>
> #include <boost/serialization/nvp.hpp>
> #include <boost/serialization/level.hpp>
> #include <boost/serialization/tracking.hpp>
>
...
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk