Boost logo

Boost Users :

From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2021-08-24 13:24:26


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 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