$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Lorenzo Cavallaro (sullivan_at_[hidden])
Date: 2008-01-16 13:09:17
Dear all,
   I'm trying to unserialize a boost::archive::text_iarchive. The code used to
   work, but know (for no apparent reasons) it's calling terminate throwing
   the following exception.
      terminate called after throwing an instance of 'boost::archive::archive_exception 
      what():  stream error
      Aborted
   The piece of code is very simple:
      std::ifstream ifs(filename);
      boost::archive::text_iarchive ia(ifs);
      ia >> map;
   where map is an STL hash_multimap. Any ideas? Btw, this is one of the first
   thing I'm doing in the code. Nonetheless to say, another code of mine which
   serialize and unserialize works like a charm...
   Boost library version is 1.34.1.
TIA, bye
Lorenzo
-- Lorenzo `Gigi Sullivan' Cavallaro <sullivan_at_[hidden]> GPG key at http://security.dico.unimi.it/~sullivan/sullivan.asc Until I loved, life had no beauty; I did not know I lived until I had loved. (Theodor Korner) See the reality in your eyes, when the hate makes you blind. (A.H.X)