
1 Sep
2011
1 Sep
'11
7:45 p.m.
Ok, so obviously the proposed version won't work when instances of boost::any cross dll borders. I see only one possible way out without breaking existing code (and still use the new version, if it is considered superior): Let the user explicitly declare he wants to use the version with statics by introducing a new configuration macro, e.g. BOOST_ANY_NO_DLL_CROSSING, or use an existing macro that does the same thing. If not defined, type_info comparsion would be used. -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de