본문 바로가기
공부하며놀자/프로그래밍

C++ - clear empty delete std::ostringstream, stringstream

by 테너토너 2015. 11. 25.

http://stackoverflow.com/questions/2848087/how-to-clear-stringstream


parser.str( std::string() );
parser.clear();

Charles Bailey' answer.


반응형

댓글