![]() |
hpx::exception_list
// 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; };
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 functionsstd::size_t size() const;
The number of exception_ptr objects contained within the exception_list
.
![]() |
Note |
---|---|
Complexity: Constant time. |
exception_list_type::const_iterator begin() const;
An iterator referring to the first exception_ptr object contained within the exception_list
.
exception_list_type::const_iterator end() const;An iterator which is the past-the-end value for the
exception_list
.