On 15 July 2015 at 02:35, Antony Polukhin <antoshkka@gmail.com> wrote:
This could be useful. I'll think of adding a BOOST_DLL_USE_LIBRARY macro and compiling DLL as a library

Please don't go the macro route.  A library that uses this built with the macro set one way linked against another library/application with the macro set another way is a disaster waiting to happen.

If you really wish to do this, one way is to use macros to put the different implementations in different namespaces.
--
 Nevin ":-)" Liber  <mailto:nevin@eviloverlord.com>  (847) 691-1404