Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-04-27 07:58:13


Stefan Seefeld <seefeld_at_[hidden]> writes:

> Pavel Vozenilek wrote:
>> "Vladislav Lazarenko" wrote:
>>
>>> I just want to develop wrapper around LoadLibrary, FreeLibrary,
>>> GetProcAddress
>>>for Windows and dlopen, dlclose, dlsym for Unix OSs.
>>>
>> Exported symbol enumeration would be handy too.
>
> That's all fine. The trouble really starts when you want to make
> assertions about the symbols as referring to C++ types / objects.
> If you don't, I don't really see how this topic relates to boost,
> or C++ in general.

You can do some nice things with C++ interfaces:

    entry_point hello(some_lib, "greet");
    hello(world);

If you're enumerating things, you can present STL iterators. Stuff
like that makes it C++-related.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk