This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: Is this a bug or lack of understanding?
- To: Stephen Webb <stephen at bregmasoft dot com>
- Subject: Re: Is this a bug or lack of understanding?
- From: Chris Picton <Chris dot Picton at usko dot com>
- Date: Tue, 18 Apr 2000 15:37:56 +0200
- Cc: libstdc++ at sourceware dot cygnus dot com
- References: <38FC5D65.7E374214@usko.com> <00041809300200.26633@piggy>
> In both cases you're pairing a string and an int. In the first case you're mapping the lexicographic order of the
> strings to the order of the ints. In the second case you're mapping the length of the strings to the order of the
> ints.
Ok, I get that (sort of - the sort function is used to determine unique keys. Keys are equivalent if neither is less than
the other?)
But then my problem is.... How to output the map ordered by key length?
--
Chris Picton
Usko Communications Systems Developer
Chris.Picton@usko.com