Boost logo

Boost :

Subject: Re: [boost] Tests are a mess
From: Emil Dotchevski (emil_at_[hidden])
Date: 2008-09-09 14:21:56


On Tue, Sep 9, 2008 at 10:59 AM, Gubenko, Boris <boris.gubenko_at_[hidden]> wrote:
> Emil Dotchevski wrote:
>> Any ideas what might be causing this link error?
>
> No idea. I'll investigate and get back to you.

Boris,

Thanks for looking into this!

Here is some more info that you might find helpful:

The refcount_ptr class template is just that, a simple reference
counting pointer. The only instance of the template is found on line
229 in boost/exception/exception.hpp:

refcount_ptr<exception_detail::error_info_container> data_;

which is a member of boost::exception. The error_info_container type
is abstract and it is defined in the same header file.

There are friends of boost::exception that refer to data_, in
exception/get_error_info.hpp, exception/info.hpp, and
exception/diagnostic_information.hpp.

The only thing that calls ~refcount_ptr() is the destructor of class
boost::exception, which is pure virtual.

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