I'm trying to use an iterator of a vector of pointers to objects of a class I've written, to proceed through each object in the vector and call a member function of that object. It's not working. I ...
a_struct.pmem_i; // the type is, wait for it, int* volatile (the pointer is volatile not the object it is pointing to) The second line is a very important point to keep in mind when declaring structs.