This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add std::future_error constructor from future_errc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]