This function interprets the character c as a bell, and assigns that value to the bell object. See the next function for the mapping between characters and bells. If the character does not represent a valid bell, then an exception of the class
bell::invalidis thrown; if you have disabled exceptions, the bell is set to the valuebell::MAX_BELLS. The function returns*this.