From: Aristid Breitkreuz (aribrei_at_[hidden])
Date: 2006-09-17 13:07:55


Hello,

I want to propose this bug fix in boost/any.hpp (around line 225):

    template<typename ValueType>
    const ValueType * unsafe_any_cast(const any * operand)
    {
        //WRONG?!: return any_cast<ValueType>(const_cast<any
*>(operand));
        return unsafe_any_cast<ValueType>(const_cast<any *>(operand));
    }

Symptoms are: Boost.Signals does not work properly across shared library
boundaries if some compiler options ("-fvisibility=hidden" on GCC) are
set.

Seeing this bug fixed is very high priority for me.

Kind regards,
Aristid Breitkreuz