Boost logo

Boost Users :

Subject: Re: [Boost-users] How to use boost serialization and standard arrays?
From: Robert Ramey (ramey_at_[hidden])
Date: 2012-12-30 00:04:00


#include <boost/serialization/array.hpp>

is designed to permit the following:

void archive_data(void)
{ ofstream ofs(context.archive_name());
  boost::archive::binary_oarchive ar(ofs);

  int test[10]
  ar << test;
}

I don't know if anyone has implemented serialization for boost::array
or std::array.

Robert Ramey

> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


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