Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #13947

Re: std::map: best way to get biggest key?

From Ian Collins <ian-news@hotmail.com>
Newsgroups comp.lang.c++
Subject Re: std::map: best way to get biggest key?
Date 2012-02-13 07:13 +1300
Message-ID <9pqdqbFrknU1@mid.individual.net> (permalink)
References <jh6nft$43f$1@speranza.aioe.org> <JvOdnamUgb3OeavSnZ2dnUVZ8tydnZ2d@giganews.com> <jh6ov5$7am$1@speranza.aioe.org> <jh6q2b$p6h$1@dont-email.me> <jh8kij$5gb$1@speranza.aioe.org>

Show all headers | View raw


On 02/13/12 04:07 AM, Rui Maciel wrote:
>
> The question, which you failed read or understand, was if there was a better
> way to extract the biggest key of a std::map.  To put it more clearly, the
> question was if there was any standard way (that is, employing components
> from the STL) that made it possible to extract the biggest key from a
> std::map, without relying on the key comparison function used by an std::map
> object.

The key comparison function used by std::map defines "Biggest" in the 
context of that map.

-- 
Ian Collins

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

std::map: best way to get biggest key? Rui Maciel <rui.maciel@gmail.com> - 2012-02-11 21:44 +0000
  Re: std::map: best way to get biggest key? Leigh Johnston <leigh@i42.co.uk> - 2012-02-11 21:57 +0000
    Re: std::map: best way to get biggest key? Rui Maciel <rui.maciel@gmail.com> - 2012-02-11 22:09 +0000
      Re: std::map: best way to get biggest key? "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2012-02-11 23:28 +0100
        Re: std::map: best way to get biggest key? Rui Maciel <rui.maciel@gmail.com> - 2012-02-12 15:07 +0000
          Re: std::map: best way to get biggest key? Dombo <dombo@disposable.invalid> - 2012-02-12 17:00 +0100
          Re: std::map: best way to get biggest key? "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2012-02-12 18:41 +0100
          Re: std::map: best way to get biggest key? Ian Collins <ian-news@hotmail.com> - 2012-02-13 07:13 +1300
          Re: std::map: best way to get biggest key? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-02-12 19:40 +0000
          Re: std::map: best way to get biggest key? Joshua Maurice <joshuamaurice@gmail.com> - 2012-02-12 13:25 -0800
      Re: std::map: best way to get biggest key? Dombo <dombo@disposable.invalid> - 2012-02-11 23:29 +0100
      Re: std::map: best way to get biggest key? Paavo Helde <myfirstname@osa.pri.ee> - 2012-02-11 16:39 -0600
        Re: std::map: best way to get biggest key? Rui Maciel <rui.maciel@gmail.com> - 2012-02-12 15:16 +0000
          Re: std::map: best way to get biggest key? Goran <goran.pusic@gmail.com> - 2012-02-12 08:41 -0800
          Re: std::map: best way to get biggest key? Leigh Johnston <leigh@i42.co.uk> - 2012-02-12 18:48 +0000

csiph-web