|
Boost : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-04-28 00:55:51
Stefan Seefeld wrote:
> Vladimir Prus wrote:
>
>> Why do you need introspection or checksumming (what's "checksumming",
>> btw)?
>
> I was thinking of some 'externalized vtable' or somesuch that would enable
> users of the library to modify the class' interface without breaking the
> application / plugin interaction. Something that initializes a proxy at
> plugin load time to point to the right function.
>
> Again, this may seem overkill. However, if you really know what's in the
> plugin you may as well load the library manually and cast the 'void *'
> to whatever you know the symbol is really pointing to.
You might know only base type of plugin and textual name, but don't know the
exact type you want to create. You also don't want to invoke constructor by
mangled name ;-)
> But then this doesn't offer anything which makes it worth including into
> boost IMO.
I guess I just need to finish my library and then we can see.
- Volodya
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk