I have a std::map, std::list<int>, and std::list<myObject>
When I loop through them with their type iterators, how can I watch the values? For instance I call a function in the iterator loop:
for(std::list<int>::iterator channelIter = intList.begin()
channelIter != intList.end();
channelIter++)
{
// I want to be able to watch the value of the iterator in a watch window
myFunction((int)(*channelIter);
}
Also, how do I watch an list<myObject> and a map[int] ?