You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have changed boost::any with boost::variant and it works.
Now boost doesn't support std::shared_ptr serialization. Although it isn't hard to change std::shared_ptr with boost::shared_ptr, I'm not convinced anymore that boost::serialization is the best way to go.
Activity
morinim commentedon May 20, 2017
There could be problems with boost::serialization and classes using
boost::any. See https://stackoverflow.com/a/3672347/3235496morinim commentedon May 20, 2017
THERE IS NOT A SIMPLE WAY...
We have changed
boost::anywithboost::variantand it works.Now boost doesn't support
std::shared_ptrserialization. Although it isn't hard to changestd::shared_ptrwithboost::shared_ptr, I'm not convinced anymore thatboost::serializationis the best way to go.Probably custom solution...
morinim commentedon Sep 28, 2017
Now using a custom, text-based, solution.
Some observations:
anyserialization is a non-problem (see commit 9d93e67)