Boost logo

Boost :

From: Nicola Musatti (Nicola.Musatti_at_[hidden])
Date: 2006-05-15 04:26:21


Robert Ramey wrote:
> This tests loads in the output created by another test:
> test_class_info_save.cpp
> so it could be a problem in that other test. You might find it helpful to
> use
> the xml version of these tests (assuming they fail also). This will produce
> an archive in XML which is self describing.

I think I found the cause of the problem I was investigating: for some
reason saving version_type data in basic_text_oprimitive results in the
stream insertion operator's bool overload being called, which in turn
causes the ones in my previous example being written. Adding an overload
for version_type to basic_text_oprimitive::save() solves the problem.

I heve still to check the impacts of this change on other tests and I
don't have a patch against 1.34 as I'm currently testing against 1.33.1
due to the SourceForge CVS problems.

Cheers,
Nicola Musatti


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk