I have the following code in C++:

```
string str="a b c";
stringstream sstr(str);
vector<string> my_vec((istream_iterator<string>(sstr)), 
                       istream_iterator<string>());

```

Is there any way to save the use of `sstr`, something like the following?

```
vector<string> my_vec((istream_iterator<string>(str)), 
                       istream_iterator<string>());

```