I have a stringstream and I need to add something to the beginning of it.
Is possible doing it without using another string?
1 2 3 4 5 6 7 8 9 10 11
void foo(){
stringstream ss1;
ss1 << "bla bla...";
bar(ss1);
}
void bar(stringstream ss){
// Here I want to put something in front of ss
// to have as result:
// ss = "Something bla bla..."
}