Next: , Previous: bell Constructors, Up: The bell Class



3.4.3 Operators

— Operator: bell& bell::operator= (int i);

This assigns the integer value i to the bell object, where bells are numbered starting from 0.

— Operator: int bell::operator int (void);

This casts a bell object to the corresponding integer.

— Operator: ostream& operator<< (ostream& o, const bell b);

This operator writes the character representing the bell b to the output stream o.