a stringstream example for converting any built-in type or self-defined with _str method