This documentation is archived and is not being maintained.

Compiler Error C2333

Error Message

'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: