|
Boost : |
Subject: Re: [boost] [review] Review of Outcome (starts Fri-19-May)
From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2017-05-19 13:22:19
On Fri, May 19, 2017 at 6:08 AM, Niall Douglas via Boost
<boost_at_[hidden]> wrote:
>...
I'm assuming that this code somehow avoids the double-checked lock for
static objects with function scope:
https://github.com/ned14/boost.outcome/blob/master/include/boost/outcome/v1.0/error_code_extended.hpp#L47
Can you please explain how it achieves this goal on all platforms?
I'd also like to understand this declaration:
BOOSTLITE_NOINLINE inline const std::error_category &_generic_category()
Why is there a no inline macro followed by the inline keyword?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk