Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2004-09-11 06:49:32

> In order to export class from dynamic library
> one needs to add something as:
> __declspec(dllexport)
> wrapped in a macro. (Win32 example.)
> Right now libraries define their own macros, e.g
> Iostreams has BOOST_IO_DECL and Regex
> There could be more.
> I suggest common macro, BOOST_DECL
> to be used Boost-wide.
> Its value may be by default empty or deduced
> as it is done in Regex.

But what happens when lib A calls lib B, so lib A needs to be exported and
lib B needs to be imported?


Boost list run by bdawes at, gregod at, cpdaniel at, john at