Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-09-23 04:18:58


Robert,
the latest version of your library that I have has this code in documentation.

    boost::archive::oarchive oa(ofs);
    
    // create class instance
    const gps_position g(35, 59, 24.567f);
    // write class instance to archive
    oa << g;
    // close archive
    ofs.close();

The problem is the it should use "text_oarchive" instread of "oarchive".

- Volodya


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