I want to return an iterator from the beginning of a vector from another file.
std::vector<sf::Sprite> bigAsteroidV;
bigAsteroidV.begin();
What would the function header be for that?
std::vector<sf::Sprite>::iterator pouet();
(read/write access)
std::vector<sf::Sprite>::const_iterator pouet() const;
(read-only access)
But returning an iterator is usually not a good solution. What are you trying to do?