Boost logo

Boost Users :

From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2005-08-12 11:21:18


The following code leads to numerous leaks when lIn's contents are not an
xml_archive. Any thoughts on the cause?

    std::ifstream lIn( lpszPathName );

    if( lIn.good() )
            boost::archive::xml_iarchive ia( lIn );
 catch( boost::archive::xml_archive_exception& aExc )
    std::string lErr = aExc.what();


Jeff Flinn

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at