Boost logo

Boost Users :

Subject: [Boost-users] [serialization] Test for end of archive
From: Tom Aylesworth (taylesworth_at_[hidden])
Date: 2009-04-08 16:27:53


Is there a way to test for the end of an archive, similar to testing for end of a stream? I have an indeterminate number of objects serialized to an archive and would like to loop until the end of the archive has been reached without reading past the end of the archive and getting a stream exception.

Thanks!

Thomas Aylesworth
Senior Software Engineer
Reality Mobile



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net