I have a variable which is a basic_string, as I want my own allocator assigned to it. This gives me the following compiler error:

"Error 3 error C2039: 'serialize' : is not a member of 'std::basic_string<_Elem,_Traits,_Ax>' ...\boost\serialization\access.hpp 109"

I have searched around for this error but have not been able to find a solution. It would be possible to just pass a vector with chars in it, but basic_string is preferred. Has anyone else had this problem and maybe managed to solve it?

/Jacob Holm