Boost logo

Boost :

Subject: Re: [boost] [Serialization] 1.42.0 oserializer.hpp:394 bug?
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2010-05-08 00:14:42


On Fri, May 7, 2010 at 4:21 PM, Krzysztof Czainski <1czajnik_at_[hidden]> wrote:
> File: serialization/oserializer.hpp, line 394:
>            if(NULL == true_type){
>                boost::serialization::throw_exception(
>                    archive_exception(
>                        archive_exception::unregistered_class,
>                        true_type->get_debug_info()
>                    )
>                );
>            }

Just a friendly note to Robert, if you use boost::throw_exception,
get_debug_info could be integrated with boost::diagnostic_information,
which is used to print debug info from most exceptions emitted by
Boost (specifically, those that were thrown by
boost::throw_exception.)

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


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