Node:Solid Constructors and Setting Functions, Next:Solid Destructor, Previous:Solid Data Members, Up:Solid Reference
void Solid (void )
|
Default constructor |
Creates an empty Solid .
|
void Solid (const Solid& s)
|
Copy constructor |
Creates a new Solid and makes it a copy of s.
|
Solid* create_new<Solid> (const Solid* s) | Template specializations |
Solid* create_new<Solid> (const Solid& s) |
Pseudo-constructors for dynamic allocation of Solids .
They create a Solid on the free store and allocate memory for it using
new(Solid) . They return a pointer to the new Solid .
If s is a non-zero pointer or a reference,
the new |