Boost logo

Boost Users :

Subject: [Boost-users] boost_serialization ok with vector<int> but not with vector<int *>
From: Tony Camuso (tcamuso_at_[hidden])
Date: 2015-03-05 09:36:56

Why is the compiler okay with ...

  ... but throws an error for ...
        std::vector<int *>pintvec;

The error is ... /usr/include/boost/serialization/access.hpp:118: error: request for member 'serialize' in 't', which is of non-class type 'int' t.serialize(ar, file_version);

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