Compiler Error C2735

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

For the latest documentation on Visual Studio 2017, see Compiler Error C2735 on docs.microsoft.com. '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: