Previous: Cuboid Constructors and Setting Functions, Up: Cuboid Reference


36.3 Operators

— Assignment operator: void operator= (const Cuboid& c)

Makes the Cuboid a copy of c. The old contents of *this are deallocated (where necessary) and discarded.