View Single Post
Old Jun 26th, 2006, 11:34 PM   #2
Cache
Hobbyist
 
Join Date: Sep 2005
Posts: 266
Rep Power: 4 Cache is on a distinguished road
Compiles fine in VC++ 2005, but not Dev-C++ (with g++.exe). It works OK if you typename it thought.

typename std::vector<T>::iterator iter = 
  std::find(m_items.begin(), m_items.end(), item);
Cache is offline   Reply With Quote