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


next up previous contents index
Next: Return Types Up: Coding Previous: Formal Arguments and Default Parameters

One argument constructors

Constructors with one argument should be made explicit, or have an explanation why automatic conversion is wanted (as an example: Unit(String) is an obvious candidate for automatic conversion, to be able to write e.g. ``km/s'' rather than Unit(``km/s'')).
next up previous contents index
Next: Return Types Up: Coding Previous: Formal Arguments and Default Parameters   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