This is a question regarding an answer found here.
The following tokenizes a string
:
string sentence = "And I feel fine...";
istringstream iss(sentence);
vector<string> tokens{istream_iterator<string>{iss},
istream_iterator<string>{}};
What does the last line mean? What is the purpose of the {}
.