3 Jul
2013
3 Jul
'13
4:14 p.m.
On 7/3/2013 6:25 AM, Andrea Ranieri wrote:
Hi all,
I'm having some issue serializing a `std::string` with `boost::serialization` on a `text_oarchive`. AFAICT, I have two identical pieces of code that behaves differently in two different programs.
This is the program that I believe is behaving correctly:
#include <iostream> #include <string> #include <sstream>
#include
#include template <typename T> void serialize_deserialize(const T & src, T & dst) {
Are you missing:
#include