Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::serialization: 'serialize' is not a member of 'Eigen::internal::workaround_msvc_stl_support<T>'
From: LynnC (lynnaucpe_at_[hidden])
Date: 2014-08-13 14:52:50

As mentioned in the original post:

g.points is std::vector<Point, Eigen::aligned_allocator&lt;Point> >

I include #include <boost/serialization/vector.hpp> so that handles the
vector part and I created a serialize function for the Point:

    template<class Archive>
    void serialize(Archive & ar, Point& g, const unsigned int version) {
        ar & g.getVector3fMap().data()[0];
        ar & g.getVector3fMap().data()[1];
        ar & g.getVector3fMap().data()[2];

Shouldn't that be enough.

View this message in context:
Sent from the Boost - Users mailing list archive at

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at