How to deal with noexcept in Visual Studio

前端 未结 11 1732
一整个雨季
一整个雨季 2021-01-31 07:42

I\'m trying to create a custom exception that derives from std::exception and overrides what(). At first, I wrote it like this:

class U         


        
11条回答
  •  长情又很酷
    2021-01-31 08:28

    add the below path to the additional include directories

    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include
    

    at this location there is file called "yvals.h" which contain definition of _NOEXCEPT

提交回复
热议问题