|
|
|
|
|
by therein
3783 days ago
|
|
Oh no, I agree with that. I was specifically talking about fenesiistvan's point about his STL wrapper. I was wondering what his use cases were. No doubt auto is extremely useful in a case like the one you mentioned. In fact, even more so in here: for (std::unordered_map<std::string, std::unordered_map<std::string, long>*>::const_iterator it = a.begin(); ...) |
|
So my hashmap handling looks like this:
MHashMap userlist = new MHashMap<HUser>();
HUser *user = userlist->First();
while(user) { user->DoSomething(); user = userlist->Next(); }