What would be end of source in this case when getting a string input from console?
int main()
{
std::vector<std::string> str;
copy (istream_iterator<std::string>(std::cin), istream_iterator<std::string>(), std::back_inserter(str));
}
What would be end of source in this case when getting a string input from console?
int main()
{
std::vector<std::string> str;
copy (istream_iterator<std::string>(std::cin), istream_iterator<std::string>(), std::back_inserter(str));
}