Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken compilation in Boost 1.55 #13

Open
costashatz opened this issue Jul 28, 2017 · 0 comments
Open

Broken compilation in Boost 1.55 #13

costashatz opened this issue Jul 28, 2017 · 0 comments

Comments

@costashatz
Copy link
Collaborator

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..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant