Compiler Error C3554

Visual Studio 2015
 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Compiler Error C3554.

decltype' cannot be combined with any other type-specifier

You cannot qualify the decltype() keyword with any type specifier. For example, the following code fragment yields error C3554.

int x;  
unsigned decltype(x); // C3554  

Show: