Specification Version
SYCL 2020 (Revision 11)
Section Number(s)
4.13.2
Bug Description
std::exception declares what() as:
virtual const char* what() const noexcept;
sycl::exception inherits std::exception, therefore sycl::exception::what() should also be noexcept, otherwise it causes weaker exception specification.
Specification Version
SYCL 2020 (Revision 11)
Section Number(s)
4.13.2
Bug Description
std::exception declares
what()as:sycl::exceptioninheritsstd::exception, thereforesycl::exception::what()should also benoexcept, otherwise it causes weaker exception specification.