Wow, when I use that code you gave me, I get a whopping 104 errors! New record, baby. Well I guess I should post my real code, since I do quite a bit while iterating.
I apologize, i forgot to mention a few things.
#include <list> // new
#include <iterator> // new
using namespace std; // new
for (list<bullet>::iterator i = bullet_list.begin(); i != bullet_list.end(); ++i) {
bool isalive = i->alive;
// do stuff