2 Feb
2021
2 Feb
'21
2:57 p.m.
Niall Douglas wrote:
So, as I already said, don't do that. Only symbols whose typeinfos need to be seen during RTTI lookup should always be BOOST_SYMBOL_VISIBLE. That is generally types thrown as exceptions, and anything else subject to dynamic_cast.
One problem here is that the library doesn't know which of its types are subject to dynamic_cast in user code.