Boost logo

Boost :

Subject: Re: [boost] [all] Request for out of the box visibility support
From: Robert Ramey (ramey_at_[hidden])
Date: 2018-08-18 18:43:03

On 8/18/18 10:26 AM, Andrey Semashev via Boost wrote:
> So, for example, if you mark a type with
> default visibility and define it in a static library, you can link that
> library into a shared library and the type would still be
> default-visible*. This is useful when you want to ensure that a certain
> type, like an exception, is public regardless of how it is compiled into
> the final executable.

Hmmm - don't you run into problems linking static libraries into shared
libraries. I'm pretty sure that this is a problem on VC compilers a
there are different versions of C runtime - one for dynamic linking and
another for static linking. It's all very confusing to me.

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