I need to create a stack with a key and for each key one or more instances of a data structure associated. A multi map seems to be best suited for this.
However, I don't know how I could extract an element with the maximum key value whithout knowing that max value. Is that possible with a multi-map ? Is there a special iterator for this ?
thanks for your help !!