I have a member variable of type vector (where is T is a custom class, but it could be int as well.)
I have a function from which I want to return a po
In addition to James's answer about how to do it you should note that const int is not a valid type to put into any standard container since it is not assignable.