I have:
std::list<Particle> particles;
std::list<Particle>::iterator particleit;
in my main.cpp. I need to declare both of these as extern in one of my class files, but my compiler gives me some error about a missing '>' when I try the straightforward way. How would I go about fixing this?