Compiler Error C2333

 

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

function' : error in function declaration; skipping function body

This error occurs after another error, for member functions defined inside their class.

The following sample generates C2333:

// C2333.cpp  
struct s1 {  
   s1(s1) {}   // C2333  
};  

Show: