Thank you all for the quick replies! I will give end() a try. As far as my 2nd question goes... how do you think I can achieve something like that?
I want to be able to create something like a string enum at the beginning of my game or for each game state, and then pass in those values to my manager.
Taking the example enum I had above I could rewrite my ImageManager function as such:
Image& Ret(Files FileName)
and then using it would be something like this
Any ideas or tips let me know. Thanks for the help again!