Hello, I was just wondering what everyone would think of an implementation of the foreach statement within the c++ language. I personally find it very useful within c#, and it shortens the statements dramatically. The foreach construct is essentially the incrementation of a pointer to the type you want to iterate through. This could be done in c++ as well, but only explicitly i think, whereas the foreach does it implicitly, i.e. its behavior is hidden from the user. The foreach has its limitations though, ie. within c# you cannot traverse through an object type array, and there is no way to specify the incrementation step as well (well as far as i know). So what do you think?