Article View: comp.lang.c++.leda
Article #108Re: Error in h_array
From: thomas
Date: Sat, 30 Sep 1995 08:35
Date: Sat, 30 Sep 1995 08:35
28 lines
1386 bytes
1386 bytes
Frank Muzzulini (ua0y@rzstud1.rz.uni-karlsruhe.de) wrote: : 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. Ahh, thank you I look for it. : > Want to use slist<..>. : > I need methode slist::del_item(slist_item it) : Why don't you use list<..> then? I have to create thousands of objects in the memory. Each object needs a list and I simply don't need the overhead of a double linked list. -- Servus, Thomas Gfuellner thomas@hauberl.greenie.muc.de Pyramoos 14 84427 St. Wolfgang Phone: 49-8085-1398
Technical Details
Message-ID:
<DFpMK0.BB@hauberl.greenie.muc.de>Path:
arc1-ca.pugleaf.net!news.space.net!greenie!hauberl!thomasReferences:
<DFMp6z.67@hauberl.greenie.muc.de> <44grv6$64h@nz12.rz.uni-karlsruhe.de>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.c++.leda Path: arc1-ca.pugleaf.net!news.space.net!greenie!hauberl!thomas From: thomas@hauberl.greenie.muc.de (thomas) Subject: Re: Error in h_array X-Newsreader: TIN [version 1.2 PL2] Organization: Germany (St. Wolfgang) Message-ID: <DFpMK0.BB@hauberl.greenie.muc.de> References: <DFMp6z.67@hauberl.greenie.muc.de> <44grv6$64h@nz12.rz.uni-karlsruhe.de> Date: Sat, 30 Sep 1995 08:35:59 GMT