A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://timsong-cpp.github.io/cppwp/n4659/futures.future_error below:

[futures.future_error]

33 Thread support library [thread] 33.6 Futures [futures] 33.6.4 Class future_­error [futures.future_error]
namespace std {
  class future_error : public logic_error {
  public:
    explicit future_error(future_errc e);

    const error_code& code() const noexcept;
    const char*       what() const noexcept;
  private:
    error_code ec_;    };
}

explicit future_error(future_errc e);

Effects: Constructs an object of class future_­error and initializes ec_­ with make_­error_­code(e).

const error_code& code() const noexcept;

const char* what() const noexcept;

Returns: An ntbs incorporating code().message().


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4