I was just converting a function from
bool SaveStringList(const std::vector<std::string>& strList, const std::string& fileName)
to
template<class InputIterator>
bool SaveStringList(InputIterator first, InputIterator last, const std::string& fileName)
so it can take any container type. I wanted to do the same with
std::vector<std::string> LoadStringList(const std::string& fileName)
Where it returns any container type. Anyone know a way i can do this?