Conversion Operations
Conversions the other direction, from an object type to another type, are defined using a conversion operator.
A conversion operator is an operator whose name is a type.
class rational { ... operator double () const { return top / (double) bottom; }};