
-----------------------------------
matt271
Fri May 06, 2011 6:32 pm

For Each - why i cant do this?
-----------------------------------
why i cant do this??

#include 
#include 
using namespace std;

// why cant i do this?
template 
void forEath(T v) {
    T::iterator i;
    for (i = v.begin(); i != v.end(); i++)
        cout 