#8849 closed patch
HashMap: Iterator rework
Reported by: | lordhoto | Owned by: | fingolfin |
---|---|---|---|
Priority: | normal | Component: | --Other-- |
Version: | Keywords: | ||
Cc: | Game: |
Description
Hi,
again a little patch which reintroduced the usage of a template for Iterator which should get rid of the code duplication for the iterator code. This time I used a template<class T> friend so it compiles fine on gcc 4.1 etc. also. I currently do not know about gcc 2.95, *maybe* we would need to add some ifdef hackery there, which maybe includes making some hashmap members public for that compiler, but I think it is nicer than the code duplication.
Ticket imported from: #1929274. Ticket imported from: patches/954.
Attachments (2)
Change History (8)
by , 17 years ago
Attachment: | hashmap.patch added |
---|
comment:1 by , 17 years ago
Owner: | set to |
---|
comment:4 by , 17 years ago
Ops just noticed I included some changes to my local tree not related to the patch in the latest patchfile. Committed now with just the hashmap changes.
comment:5 by , 17 years ago
Status: | new → closed |
---|
comment:6 by , 6 years ago
Component: | → --Other-- |
---|
patch against SVN before MemoryPool addition