Boost logo

Boost :

From: Alexey Nikitin (reductor_at_[hidden])
Date: 2003-12-08 08:07:10


Hi,

Sample from "test_array.cpp":
--- line 55 ---
    // test array of objects
    A a_array[10];
    {
        test_ostream os(testfile, TEST_STREAM_FLAGS);
        test_oarchive oa(os);
        oa << boost::serialization::make_nvp("a_array", a_array);
    }
--- line 61 ---

At exit from block happens access violation, because os tries to use codecvt
object deleted in oa destructor.

Regards,
Alexey


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