HashMap: Iterator rework
|Reported by:||lordhoto||Owned by:||fingolfin|
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.