I am trying to complete a homework assignment I have, which needs to be completed using only the algorithm library in c++, without any custom loops of any sort. I need to populate a string type vector called m_Players from class Player, from an input file that contains a couple of names, and I am having trouble identifying which functions I need to use from the algorithm library to achieve that, and how to syntactically use them to reach my goal.
std::vector<Player> m_Players;
void Glicko::LoadPlayers(std::istream& is)
{
// TODO Load the m_Players variable without using a custom loop
}