
1 Sep
2011
1 Sep
'11
9:24 p.m.
2011/9/1 Martin Bidlingmaier <Martin.Bidlingmaier@gmx.de>
Ok, so obviously the proposed version won't work when instances of boost::any cross dll borders.
The existing version of boost::any has the same limitation. If you make rtti info local to dynamic libraries, you won't be able to extra data from any in one dynamic library if it was put in in another. I personally don't consider this to be a limitation. If you want to be resilient to any kind of dynamic library barriers, you can't even use exceptions. Roman Perepelitsa.