
2011/9/2 Andrey Semashev <andrey.semashev@gmail.com>
On 09/02/2011 09:49 AM, Roman Perepelitsa wrote:
2011/9/2 Emil Dotchevski<emildotchevski@**gmail.com<emildotchevski@gmail.com>
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.
MSVC bakes the RTTI statically in each DLL, but it does work across DLL boundaries.
It doesn't work on Linux, though.
It does, if you make RTTI public for relocation.
The existing implementation of any works unless you make RTTI local to dynamic libraries. The new and faster implementation of any works unless you make type_id local to dynamic libraries. In both cases it's a matter of specifying the export maps correctly. Roman Perepelitsa.