Boost logo

Boost :

Subject: [boost] [Archive] oserializer.hpp
From: Richard Crossley (rdc_at_[hidden])
Date: 2010-01-12 08:33:41


The following code from archive/detail/oserializer.hpp on head looks rather
dubious...

>line 394
// note:if this exception is thrown, be sure that derived pointer
// is either registered or exported.
if(NULL == true_type){
        boost::serialization::throw_exception(
              archive_exception(
                    archive_exception::unregistered_class,
                    true_type->get_debug_info() // << Here
                )
        );
}

Regards,

Richard.


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