Class cancelled_future

poet::cancelled_future — Exception thrown by a cancelled future.

Synopsis

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

Description

This exception is thrown when an attempt to convert a future to its associated value fails due to future::cancel() being called on a future that references the same promise.

cancelled_future public construct/copy/destruct

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