dimanche 31 juillet 2016

noexcept keyword is not supported by msvc in 2016

I am asking this question because I just can believe that it is 2016 and msvc compiler still does not support noexcept keyword. The following simple code:

class Test
{
public:
    Test()noexcept
    {
    }
};

Generates this error: error C3646: 'noexcept' : unknown override specifier

This code compiles by Visual Studio on Win32 platform, but it generates this error when I am trying to compile it on UWP. Am I missing something obvious or are they using different c++ compilers for Win32 and UWP? I am using Microsoft Visual Studio Community 2015 Update 3. Version 14.0.25424.00.

Aucun commentaire:

Enregistrer un commentaire