
17 Sep
2006
17 Sep
'06
5:07 p.m.
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