Boost logo

Boost :

Subject: Re: [boost] [review] Review of Outcome (starts Fri-19-May)
From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2017-05-19 14:12:45

On Fri, May 19, 2017 at 7:05 AM, Niall Douglas via Boost
<boost_at_[hidden]> wrote:
> ...
> The hack is the above. We cache the address of the canonical singleton,
> and the noinline seems to cause the optimiser to disregard the thread
> fence and thus to not give up quickly. The resulting assembler generated
> is greatly improved on MSVC, a single result<T> shrinks from ~260
> opcodes to less than 5.

As I use error categories extensively in my library, a blog post or
article focusing on this technique would be useful (if it doesn't
already exist).

Boost list run by bdawes at, gregod at, cpdaniel at, john at