Boost logo

Boost :

Subject: Re: [boost] [system] Would it be possible to trial a breaking change to Boost.System and see what happens?
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2018-01-13 15:14:10


On 01/13/18 18:05, Peter Dimov via Boost wrote:
> Andrey Semashev wrote:
>
>> I don't think the standard requires this implementation.
>> `system_category()` may return a pointer to a global caregory
>> instance, which is initialized before `main`.
>
> You're not prohibited from calling system_category() before main, so it
> has to work.

Sure. Standard library implementeds have solved the problem of early
initialization for the standard iostreams, and they can do the same for
the system category instance.


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