\ccHtmlNoClassLinks \begin{ccClassTemplate} {multiset} \ccSection{multiset} \ccDefinition An object of the class \ccClassTemplateName\ can store multiple copies of the same element of type \ccStyle{Key}. The elements in the multiset are ordered by the ordering relation \ccStyle{Compare}. The interface of the class \ccClassTemplateName\ is almost the same as of the class \ccStyle{set}. We only list the functions that have a different syntax or semantics. % prevent dead links to non-CGAL include files \ccHtmlLinksOff \ccInclude{set} \ccHtmlLinksOn \ccTypes \ccNestedType{iterator}{A const bidirectional iterator.} \ccCreationVariable{M} \ccOperations \ccMethod{iterator insert(iterator pos, const Key& k);} {Inserts \ccStyle{k} in the set. The iterator \ccStyle{pos} is the starting point of the search. The return value points to the inserted item.} \ccMethod{iterator insert(const Key& k);} {Inserts \ccStyle{k} in the set. Returns an iterator that points to the inserted item.} \ccMethod{void erase(iterator pos);} {Erases the element where pos points to. This erases only one element} \ccMethod{int erase(Key k);} {Erases all elements that are equal to \ccStyle{k}. Returns the number of erased elements.} \end{ccClassTemplate}