DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::exception_list Class Reference

A list of asynchronous exceptions. More...

#include <sycl/exception_list.hpp>

Public Types

using value_type = std::exception_ptr
 
using reference = value_type &
 
using const_reference = const value_type &
 
using size_type = std::size_t
 
using iterator = std::vector< std::exception_ptr >::const_iterator
 
using const_iterator = std::vector< std::exception_ptr >::const_iterator
 

Public Member Functions

size_type size () const
 
iterator begin () const
 
iterator end () const
 

Friends

class detail::queue_impl
 

Detailed Description

A list of asynchronous exceptions.

Definition at line 32 of file exception_list.hpp.

Member Typedef Documentation

◆ const_iterator

using sycl::_V1::exception_list::const_iterator = std::vector<std::exception_ptr>::const_iterator

Definition at line 39 of file exception_list.hpp.

◆ const_reference

Definition at line 36 of file exception_list.hpp.

◆ iterator

using sycl::_V1::exception_list::iterator = std::vector<std::exception_ptr>::const_iterator

Definition at line 38 of file exception_list.hpp.

◆ reference

◆ size_type

Definition at line 37 of file exception_list.hpp.

◆ value_type

using sycl::_V1::exception_list::value_type = std::exception_ptr

Definition at line 34 of file exception_list.hpp.

Member Function Documentation

◆ begin()

exception_list::iterator sycl::_V1::exception_list::begin ( ) const

Definition at line 19 of file exception_list.cpp.

◆ end()

exception_list::iterator sycl::_V1::exception_list::end ( ) const

Definition at line 21 of file exception_list.cpp.

◆ size()

exception_list::size_type sycl::_V1::exception_list::size ( ) const

Friends And Related Function Documentation

◆ detail::queue_impl

friend class detail::queue_impl
friend

Definition at line 48 of file exception_list.hpp.


The documentation for this class was generated from the following files: