Article View: comp.lang.c++.leda
Article #106Re: Error in h_array
From: Frank Muzzulini
Date: Fri, 29 Sep 1995 13:22
Date: Fri, 29 Sep 1995 13:22
22 lines
1344 bytes
1344 bytes
thomas (thomas@hauberl.greenie.muc.de) wrote: > The h_array behaves different then the d_array. > I think the hashkey should be calculated from the string value but > not from object identity. Looking at the manual, it seems to me, that you have to define the 'Hash' function on your own. Maybe there's a default Hash for all Objects based on the adress of the objects. At least this would explain the behaviour of your programm. > Want to use slist<..>. > I need methode slist::del_item(slist_item it) Why don't you use list<..> then? Greetings, Muzz -- ___ Frank Muzzulini ua0y@rz.uni-karlsruhe.de Muzz@irc <*,*> ... until the colour of a man skin is of no more [`-'] significance than the colour of his eyes ... Bob Marley (War) -"-"-
Technical Details
Message-ID:
<44grv6$64h@nz12.rz.uni-karlsruhe.de>Path:
arc1-ca.pugleaf.net!rzstud1.rz.uni-karlsruhe.de!ua0yReferences:
<DFMp6z.67@hauberl.greenie.muc.de>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!rzstud1.rz.uni-karlsruhe.de!ua0y From: ua0y@rzstud1.rz.uni-karlsruhe.de (Frank Muzzulini) Newsgroups: comp.lang.c++.leda Subject: Re: Error in h_array Date: 29 Sep 1995 13:22:46 GMT Organization: University of Karlsruhe, Germany Message-ID: <44grv6$64h@nz12.rz.uni-karlsruhe.de> References: <DFMp6z.67@hauberl.greenie.muc.de> NNTP-Posting-Host: rzstud1.rz.uni-karlsruhe.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-User: ua0y X-Newsreader: TIN [version 1.2 PL2]