This document was uploaded by user and they confirmed that they have the permission to share
it. If you are author or own the copyright of this book, please report to us by using this DMCA
report form. Report DMCA
Compiler Error C2533 'identifier' : constructors not allowed a return type The specified constructor was declared with a return type. A constructor does not return a value and has no return type. A return type of void is not allowed. The following is an example of this error. class X { public: void X( void ) { ... }; X( void ) { ... }; };
// error, return type declared // OK, no return type declared