<vcruntime_exception.h>
: std::exception::what
is not marked noexcept
#2089
Labels
duplicate
This issue or pull request already exists
Describe the bug

https://en.cppreference.com/w/cpp/error/exception/what says
virtual const char* what() const noexcept;
but it is not:
test case
Expected behavior
It should be marked
noexcept
and no warning should be generated.STL version
Microsoft Visual Studio Community 2022 Preview Version 17.0.0 Preview 2.1
Additional context
DevCom-1491683
P.S. I know that
<vcruntime_exception.h>
is not a part of the repo. But as far as I understood it will be soon. So I decided to create the issue.The text was updated successfully, but these errors were encountered: