18 Aug
2018
18 Aug
'18
6:43 p.m.
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.