FW: "memory access violation" in boost::serialization
Hi,
I encountered the following little problem:
I would like to use the following datastructures with boost::serialize:
struct Match {};
typedef std::string Key;
typedef tst< Match, Key > TernarySearchTree; //this one has a shared_ptr
typedef std::vector< TernarySearchTree > Trees;
typedef std::map< std::string, Trees > Symbols;
I have defined some serialize overloads so saving goes fine, but when
loading I get a "memory acces violation" inside the following code:
{
boost::archive::text_iarchive ia(ifs);
ia >> symbols_;
}
More specific, inside
participants (1)
-
Dirk Griffioen