Boost logo

Boost :

Subject: Re: [boost] [system] Header-only Boost.System by default ?
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2017-10-09 23:31:33


On 10/10/2017 00:15, Vinnie Falco via Boost wrote:
> On Mon, Oct 9, 2017 at 10:34 AM, Niall Douglas via Boost
> <boost_at_[hidden]> wrote:
>> The only correct and safe way to use error categories is from a shared
>> library. In header only mode, multiple instances may appear and thus no
>> longer be proper singletons. Stuff breaks in this situation, badly.
>
> If this is true, and I hope that it is not, then we better do
> something about it and soon, because forcing header-only libraries
> that want to provide their own error categories to put them in a
> shared library is a non-starter.

Nothing we can do. WG21 is still thinking about how to solve it
properly. All attempts until now to fix the base cause of it have run
into quicksand.

Niall

-- 
ned Productions Limited Consulting
http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/

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