Boost logo

Boost :

From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2019-11-26 15:26:56


On Mon, Nov 25, 2019 at 2:54 PM Vinnie Falco <vinnie.falco_at_[hidden]> wrote:
> Boost.Asio...

A Slack user also reports this:

> was playing around with 1.72 beta asio, and it looks like this
> incorrectly concludes that recent msvc with /std:c++1[47] has
> no ret type deduction:
> https://github.com/boostorg/asio/blob/develop/include/boost/asio/detail/config.hpp#L318
> the existing test i believe would require msvc to run with /Zc:__cplusplus
> which is still not the default. a fix that works on my end is adding
>
> # elif defined(__cpp_return_type_deduction) && __cpp_return_type_deduction >= 201304
> # define ASIO_HAS_RETURN_TYPE_DEDUCTION 1
> include/boost/asio/detail/config.hpp:318
> #if !defined(BOOST_ASIO_HAS_RETURN_TYPE_DEDUCTION)

We should probably fix this along with the other problem I mentioned earlier.

Thanks


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