[PATCH] Add std::future_error constructor from future_errc

Tim Song t.canens.cpp@gmail.com
Sat Nov 12 07:34:00 GMT 2016


On Fri, Nov 11, 2016 at 10:39 PM, Jonathan Wakely <jwakely@redhat.com> wrote:
> making the existing not-required-by-the-standard constructor private.

> +  public:
> +    explicit
> +    future_error(error_code __ec)
> +    : logic_error("std::future_error: " + __ec.message()), _M_code(__ec)+    { }

That doesn't look private to me...

Tim



More information about the Libstdc++ mailing list