[gnu.g++.bug] Small bug in libg++

schmidt@blanche.ics.uci.edu (Doug Schmidt) (12/02/88)

Hi,

  I believe the following is a small bug in the VHashTable.h.proto
file.  In the traversal member function ``get'' the test:

  if (pos <= 0)
    h->error("operation on null traverser");

should actually be:

  if (pos < 0)
    h->error("operation on null traverser");

Since otherwise the iterator gets a fatal error before it even begins!
VHashSet also has this problem, but VHashAssoc appears correct.

Doug
--
schmidt@ics.uci.edu (ARPA) |   Per me si va nella citta' dolente.
                           |   Per me si va nell'eterno dolore.
                           |   Per me si va tra la perduta gente.
                           |   Lasciate ogni speranza o voi ch'entrate.