Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2005-08-22 10:47:10


I would have written:

void save(const CFixture & fixt, const char* filename)
{
    ...
    oa << BOOST_SERIALIZATION_NVP(fixt);
    ...
}

void load(CFixture & fixt, const char* filename)
{
    ...
    ia >> BOOST_SERIALIZATION_NVP(fixt);
    ...
}

Robert Ramey


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