Opened 5 years ago

Closed 5 years ago

#13097 closed Support Requests (wontfix)

cannot serialize boost::array anymore

Reported by: dario.izzo@… 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 dario.izzo@…, 5 years ago

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.

comment:2 by John Maddock, 5 years ago

Component: Noneserialization
Owner: set to Robert Ramey

comment:3 by Robert Ramey, 5 years ago

Resolution: wontfix
Status: newclosed

Sorry, I was fixing up a previous mistake. I mark wont fix but I mean "can't fix"

Note: See TracTickets for help on using tickets.