Skip to content

Broken compilation in Boost 1.55 #13

@costashatz

Description

@costashatz

Hello,

the last 2 commits (854eb3a and eb75b64) broke the compilation for Boost 1.55. They do work on latest versions..

I had to put the following in stat_map.hpp:

namespace boost {
namespace serialization {

template<class Archive, class T, size_t N>
void serialize(Archive & ar, std::array<T,N> & a, const unsigned int version)
{
  ar & boost::serialization::make_array(a.data(), a.size());
}

} // namespace serialization
} // namespace boost

We should somehow make it generic (I am assuming that this will not compile in newer versions, as the serialize is defined for std::array).. I will check and get back..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions