During the execution of a parallel algorithm, if temporary memory resources are
required for parallelization and none are available, the algorithm throws a
bad_alloc exception.
During the execution of a parallel algorithm, if the invocation of an element
access function exits via an uncaught exception,
the behavior is determined by the ExecutionPolicy.