Index: vector.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/numeric/ublas/vector.hpp,v retrieving revision 1.74 diff -u -p -r1.74 vector.hpp --- vector.hpp 6 Dec 2006 09:34:01 -0000 1.74 +++ vector.hpp 2 Jan 2007 20:10:25 -0000 @@ -505,6 +505,12 @@ namespace boost { namespace numeric { na return reverse_iterator (begin ()); } + // Serialization + template + void serialize(Archive & ar, const unsigned int /* file_version */){ + ar & data_; + } + private: array_type data_; }; @@ -1674,6 +1680,14 @@ namespace boost { namespace numeric { na return reverse_iterator (begin ()); } + // Serialization + template + void serialize(Archive & ar, const unsigned int /* file_version */){ + ar & size_; + // ISSUE: this writes the full array + ar & data_; + } + private: size_type size_; array_type data_;