i am using a message map for message handling in my win32 window wrapper. i found a reference on the net, and one line has this:
further on, it does this with the iterator:PHP Code:
typedef tyMessageMap::iterator tyMessageIterator;
when i try to access the second member with the -> operator it desont' show anything..thats cuz ints not a pointer..i tried the . operator, but the iterator doesn't even have a second member..i looked on the STL doc and it doesn't have that member either..what do i need to use instead?PHP Code:
tyMessageIterator it;
(...)
return it->second; //what does this do anyways?