3
скидання потокового рядка
Як мені "скинути" стан ланцюжка потоків до того, яким він був, коли я його створив? int firstValue = 1; int secondValue = 2; std::wstringstream ss; ss << "Hello: " << firstValue; std::wstring firstText(ss.str()); //print the value of firstText here //How do I "reset" the stringstream here? //I would like it …