Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 803
News FAQ
Search Home


next up previous contents index
Next: The Order of Function Arguments Up: Coding Previous: Document Loose Ends

Standard Class Member Functions

Provide definitions for all of the standard member functions which the compiler would (otherwise) generate automatically: default constructor6.16, destructor6.17, copy constructor, and the assignment operator. For any of these which you really wish to disallow, declare them private, and create minimal implementations (if any at all). For example:
   ...
   private:
      SomeClass () {;}   // disable the default constructor
   ...

next up previous contents index
Next: The Order of Function Arguments Up: Coding Previous: Document Loose Ends   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2004-08-30