Compiler Error C2735

 

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 C2735.

keyword' keyword is not permitted in formal parameter type specifier

The keyword is invalid in this context.

The following sample generates C2735:

// C2735.cpp  
void f(inline int){}   // C2735  

Show: