Class uncertain_future

poet::uncertain_future — Exception thrown by an uncertain future.

Synopsis

class uncertain_future : public std::runtime_error {
public:
  // construct/copy/destruct
  uncertain_future();
  virtual ~uncertain_future();
};

Description

This exception is thrown when an attempt is made to convert a future with no promise into its associated value. This can happen if the future was default-constructed, or its associated promise object has been destroyed without being fulfilled.

uncertain_future public construct/copy/destruct

  1. uncertain_future();
  2. virtual ~uncertain_future();