Skip to content

Should sycl::exception::what() be noexcept? #1025

Description

@KornevNikita

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AgendaTo be discussed during a SYCL committee meetingbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions