Boost logo

Boost Users :

From: Richard Hodges (hodges.r_at_[hidden])
Date: 2020-05-02 14:44:02


Hi David,

There was a last-minute change to Asio just before the release of boost
1.73 and we didn't catch the fact that this, while fixing Asio for gcc-9
-fconcepts, `gcc-10 -std=c++20` and `clang-10 -std=c++20`, it cause Beast
to break.

I have committed a fix to boostorg/beast develop branch.

Please get in touch if you need help patching your boost-1.73 sources.
Either by email or on cpplang slack in the #beast channel.

https://cppalliance.org/#links

On Sat, 2 May 2020 at 15:31, David P. Riedel via Boost-users <
boost-users_at_[hidden]> wrote:

> Hi
>
> It seems that beast still does not work with gcc 9.3 and -fconcepts.
>
> If I try to build the beast test programs using -fconcepts, I still get
> a lot of errors such as those below.
>
> I thought this was fixed in 1.73.
>
> ????
>
> Thanks
>
> ---------------------
>
> In file included from ../../../boost/beast/core/basic_stream.hpp:1457,
> from ../../../boost/beast/core.hpp:16,
> from doc/core_snippets.cpp:19:
> ../../../boost/beast/core/impl/basic_stream.hpp:781:1: error: no
> declaration matches ‘auto boost::beast::basic_stream<
> <template-parameter-1-1>, <template-parameter-1-2>,
> <template-parameter-1-3> >::async_connect(const endpoint_type&,
> ConnectHandler&&)’
> 781 | basic_stream<Protocol, Executor, RatePolicy>::
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from ../../../boost/beast/core.hpp:16,
> from doc/core_snippets.cpp:19:
> ../../../boost/beast/core/basic_stream.hpp:1202:5: note: candidates are:
> ‘template<class Protocol, class Executor, class RatePolicy>
> template<class Iterator, class ConnectCondition, class
> IteratorConnectHandler> requires
> completion_token_for<IteratorConnectHandler, void()> typename
> boost::asio::async_result<typename
> std::decay<RangeConnectHandler>::type, void(boost::system::error_code,
> Iterator)>::return_type boost::beast::basic_stream<
> <template-parameter-1-1>, <template-parameter-1-2>,
> <template-parameter-1-3> >::async_connect(Iterator, Iterator,
> ConnectCondition, IteratorConnectHandler&&)’
> 1202 | async_connect(
> | ^~~~~~~~~~~~~
> ../../../boost/beast/core/basic_stream.hpp:1141:5: note:
> ‘template<class Protocol, class Executor, class RatePolicy>
> template<class Iterator, class IteratorConnectHandler> requires
> completion_token_for<IteratorConnectHandler, void()> typename
> boost::asio::async_result<typename
> std::decay<RangeConnectHandler>::type, void(boost::system::error_code,
> Iterator)>::return_type boost::beast::basic_stream<
> <template-parameter-1-1>, <template-parameter-1-2>,
> <template-parameter-1-3> >::async_connect(Iterator, Iterator, IteratorCon
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> https://lists.boost.org/mailman/listinfo.cgi/boost-users
>

-- 
Richard Hodges
hodges.r_at_[hidden]
office: +442032898513
home: +376841522
mobile: +376380212


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net