Boost logo

Boost :

Subject: Re: [boost] [review][beast] Review of Beast starts today : July 1 - July 10
From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2017-07-09 18:22:48


On Sun, Jul 9, 2017 at 11:02 AM, Oliver Kowalke via Boost
<boost_at_[hidden]> wrote:
> warnings can be disabled

I do disable them but it doesn't help:
<https://github.com/vinniefalco/Beast/blob/1bc30cb6e4ce0fd2e288b2cd74d18f857801cbc7/Jamroot#L82>

>or boost.coroutien2 (C++11) could be used instead

The problem is that Beast doesn't use Boost.Coroutine. It is Asio that
uses Boost.Coroutine. Beast just uses boost::asio::spawn which
launches a coroutine using Boost.Coroutine.

in order to use Boost.Coroutine2 (and I think this is a good idea),
Boost.Asio has to be patched to use it. The problem is this will break
everyone using Asio coroutines, as Coroutine2 is 1. not compatible
with the Coroutine interface, and 2. not available in C++11.

Thanks


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