智圆行方
编程道路上的点点滴滴

std::stringstream ss;

// operations against ss
ss.clear();
ss.str(std::string());
 
from: http://stackoverflow.com/questions/2848087/how-to-clear-stringstream
posted on 2014-09-30 10:29  智圆行方  阅读(144)  评论(0)    收藏  举报