add strstream clear
add strstream clear
add more impl
morei example