|
Boost : |
Subject: Re: [boost] [any] new version
From: Roman Perepelitsa (roman.perepelitsa_at_[hidden])
Date: 2011-09-02 01:49:15
2011/9/2 Emil Dotchevski <emildotchevski_at_[hidden]>
> On Thu, Sep 1, 2011 at 2:24 PM, Roman Perepelitsa
> <roman.perepelitsa_at_[hidden]> wrote:
> > 2011/9/1 Martin Bidlingmaier <Martin.Bidlingmaier_at_[hidden]>
> >
> >> 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.
>
> MSVC bakes the RTTI statically in each DLL, but it does work across
> DLL boundaries.
It doesn't work on Linux, though.
Roman Perepelitsa.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk