Boost Users :
Subject: [Boost-users] [system] Default error codes
From: Gavin Lambert (gavinl_at_[hidden])
Date: 2013-10-10 19:03:34
boost/system/error_code.hpp defines "errc" as a collection of standard
error codes (based on posix).
It also defines a constructor for error_code and error_condition that
allows them to accept a single parameter of an enum type when
is_error_code_enum is defined to true for that enum type.
It does not, however, actually do this for its own errc enum.
As a result, code such as this fails to compile:
Is there some good reason for this, or is it an oversight? It's
certainly more annoying to have to explicitly specify the
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