C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
C2353
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler error C2353
 
     'constructor' : improper use of constructor initializers
 
     The constructor initializer syntax was incorrect.
 
     This error can be caused by omitting the constructor definition
     from a constructor initializer.
 
     The following is an example of this error:
 
          class C
          {
          public:
             C() : i( 10 );   // error, missing definition
             C() : i( 10 ){}; // OK
          private:
             int i;
          };
                                    -♦-