
20 Oct
2011
20 Oct
'11
3:49 p.m.
In my code I have used a non-default allocator MyAlloc for the STL classes. For instance, typedef std::basic_string< char, std::char_traits<char>, MyAlloc<char> > string ; Archive ar; ar & s; // compile error Is there a way to make this work. I know there is a builtin serialization for std::string which I would like to use. Thanks