HPX - High Performance ParalleX

PrevUpHomeNext

Class exception_list

hpx::exception_list

Synopsis

// In header: <hpx/exception_list.hpp>


class exception_list : public hpx::exception {
public:
  // types
  typedef exception_list_type::const_iterator iterator;  // bidirectional iterator 

  // public member functions
  std::size_t size() const;
  exception_list_type::const_iterator begin() const;
  exception_list_type::const_iterator end() const;
};

Description

The class exception_list is a container of exception_ptr objects parallel algorithms may use to communicate uncaught exceptions encountered during parallel execution to the caller of the algorithm

The type exception_list::const_iterator fulfills the requirements of a forward iterator.

exception_list public member functions

  1. std::size_t size() const;

    The number of exception_ptr objects contained within the exception_list.

    [Note] Note

    Complexity: Constant time.

  2. exception_list_type::const_iterator begin() const;

    An iterator referring to the first exception_ptr object contained within the exception_list.

  3. exception_list_type::const_iterator end() const;
    An iterator which is the past-the-end value for the exception_list.

PrevUpHomeNext