std::exception_list

From cppreference.com
< cpp‎ | error
 
 
Utilities library
Type support (basic types, RTTI, type traits)
Dynamic memory management
Error handling
Program utilities
Variadic functions
Date and time
Function objects
(C++11)
Relational operators
Optional and any
(C++17)
(C++17)
Pairs and tuples
(C++11)
(C++17)
Swap, forward and move
(C++14)
(C++11)
(C++11)
Type operations
(C++11)
(C++17)
 
Error handling
Exception handling
(C++11)
exception_list
(C++17)
Exception handling failures
(C++11)
(deprecated)
(deprecated)
(C++11)(deprecated)
(deprecated)
 
 
Defined in header <exception_list>
class exception_list : public std::exception;

An exception_list owns a sequence of std::exception_ptr objects. An exception of this type may be thrown by a parallel algorithm to report uncaught exceptions encountered during the execution of the algorithm.

Contents

[edit] Member types

Member type Definition
iterator unspecified constant ForwardIterator

[edit] Member functions

returns an iterator to the beginning of the list
(public member function)
returns an iterator to the end of the list
(public member function)
returns the number of exceptions in the list
(public member function)

Inherited from std::exception

Member functions

[virtual]
destructs the exception object
(virtual public member function of std::exception)
[virtual]
returns an explanatory string
(virtual public member function of std::exception)

[edit] Example