Today's features:
- Getting an address of an iterator from stl.
- Creating a foreach() macro.
- A couple of ways to work around unwanted C++ compiler warnings.
STL is a freaking nighmare to trace in a debugger so it's not too easy to tell what goes on in them but one thing became quite clear and that is that iterators are generic pointer types internally, which makes sense since STL needs to deal with so many different types.
Here's a little test to play with to show how...