RAD Studio
ContentsIndex
PreviousUpNext
Constructors And Destructors

This section contains Constructor and Destructor topics.

Name 
Description 
There are several special member functions that determine how the objects of a class are created, initialized, copied, and destroyed. Constructors and destructors are the most important of these. They have many of the characteristics of normal member functions—you declare and define them within the class, or declare them within the class and define them outside—but they have some unique features:
  • They do not have return value declarations (not even void).
  • They cannot be inherited, though a derived class can call the base class’s constructors and destructors.
  • Constructors, like most C++ functions, can have default arguments or use member... more 
This section contains Constructor topics. 
This section contains Destructor topics. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!