Opened 5 years ago
Closed 5 years ago
#13097 closed Support Requests (wontfix)
cannot serialize boost::array anymore
| Reported by: | Owned by: | Robert Ramey | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | serialization |
| Version: | Boost 1.64.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
Serialization of boost::array fails in 1.64 (it did not in 1.63)
The code
namespace boost { namespace serialization { implement serialization for boost::array template <class Archive, class T, std::size_t N> void serialize(Archive& ar, boost::array<T,N>& a, const unsigned int /* version */) {
ar & boost::serialization::make_nvp("elems", a.elems);
}
} } end namespace boost::serialization
has been removed from the serialization/array.hpp header hence breaking my code. Is this intended?
Change History (3)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
| Component: | None → serialization |
|---|---|
| Owner: | set to |
comment:3 by , 5 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
Sorry, I was fixing up a previous mistake. I mark wont fix but I mean "can't fix"

I realized a new header was added called serialization/boost_array.hpp and needs to be included. In the change log of boost libraries though I could not find any documentation of the change. A warning would have been nice.