map

Jochen Kuepper jochen@uni-duesseldorf.de
Fri Sep 25 06:33:00 GMT 1998


I am missing the following function from the class map ( as of egcs-1.1 )

  const T& operator[](const key_type& k) const;

In the class header file (stl_map.h) there is only 

  T& operator[](const key_type& k);

available. Must this class member not exits, need it not, or is it a bug ?
Sorry, I don't know what the standard states on this, I am just missing the
functionality.

Greetings,
Jochen
-----------------------------------------------------------------------
  Jochen K"upper

  Heinrich-Heine-Universit"at D"usseldorf   jochen@uni-duesseldorf.de
  Institut f"ur Physikalische Chemie I
  Universit"atsstr. 1, Geb 26.43 Raum 02.29    phone ++49-211-8113681
  40225 D"usseldorf                            fax   ++49-211-8115195
  Germany             http://www-public.rz.uni-duesseldorf.de/~jochen
-----------------------------------------------------------------------



More information about the Gcc mailing list