On 24/08/2021 13:57, Nils Frielinghaus via Boost-users wrote:

> What can be easily demonstrated though, is, that the
 translate_addrinfo_error function converts EAI_SYSTEM with errno=0 (which is 
triggered by the
 above set-up) into a Boost error code that shows success.
> So this program will output "Success".

This is a long standing design quirk of error_code which we have fixed
in proposed status_code, which is hoped to supersede error_code in a
future C++ standard.

Niall
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users

Reply via email to