This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] Add std::future_error constructor from future_errc
- From: Tim Song <t dot canens dot cpp at gmail dot com>
- To: Jonathan Wakely <jwakely at redhat dot com>
- Cc: libstdc++ at gcc dot gnu dot org, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 12 Nov 2016 02:34:34 -0500
- Subject: Re: [PATCH] Add std::future_error constructor from future_errc
- Authentication-results: sourceware.org; auth=none
- References: <20161112033958.GA3703@redhat.com>
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