From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-04-27 08:37:30


Stefan Seefeld wrote:
> David Abrahams wrote:
>
>> You can do some nice things with C++ interfaces:
>>
>> entry_point hello(some_lib, "greet");
>> hello(world);
>
> What would that call to 'hello' do

Call "greet", I assume.

> and how would you protect your
> application against ABI incompatibilities without heavy machinery ?

entry_point will probably have to demangle the various "greet" exports and
perform overload resolution and implicit conversions as necessary. This _is_
heavy machinery but it's hidden from the user and Boost.Python may already
contain the bulk of the functionality.