I only get an error when I use a function of the iterator (it, using Weapon class functions).

How do I make a class push back itself on construction? I'm sure that's the problem.