First page Back Continue Last page Graphics
Conversion Functions
Practice: stonewt in prata
In order to go the “other way” (convert an object to a standard type) you need to write a conversion function.
Stonewt::operator int() const
Practice: stonewt1 in prata