[sword-devel] Sort a MultiMapWithDefault by value?
sword-devel@crosswire.org
sword-devel@crosswire.org
Mon, 26 Aug 2002 05:54:41 +0600
> Joachim Ansorg wrote:
> > Hi!
> >
> >
> > How do I sort a MultiMapWithdefault (alnmost the same as MutliMap :) by value?
> > Is it possible to save the map in the correct order using SWConfig?
std::map (as well as std::set) is _always_ sorted in the order of _keys_. So
it is impossible to change the order.
--
Victor Porton (porton@ex-code.com)
--
Victor Porton (porton@ex-code.com)