I can't manage it. Can someone help me in more detail?

On Sun, Mar 14, 2010 at 1:36 AM, Steven Watanabe <watanabesj@gmail.com> wrote:
AMDG


alev mutlu wrote:
I am very new to boost. I am getting a serialization error, and I have no
idea about what to do

#include <boost/serialization/string.hpp>
//some other headers

 struct field {
   std::string field_name;
    std::string field_type;
    std::string field_ref;
    std::string field_colType;
 };

int main(int argc, char* argv[]){

vector<field> C;
// other definitions
// populating the C vector

  scatter(world, C, relMyValues, w_mySize, 0);

}

and I got
error: struct field has no member named serialize

what should I do?
 

You should define a serialize function.  See
http://www.boost.org/libs/serialization/doc/tutorial.html#simplecase
for an example.


In Christ,
Steven Watanabe

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users