[ scummvm-Patches-1929274 ] HashMap: Iterator rework

SourceForge.net noreply at sourceforge.net
Sun Mar 30 13:13:38 CEST 2008


Patches item #1929274, was opened at 2008-03-30 13:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1929274&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Johannes Schickel (lordhoto)
Assigned to: Nobody/Anonymous (nobody)
Summary: HashMap: Iterator rework

Initial Comment:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1929274&group_id=37116




More information about the Scummvm-tracker mailing list