C++11 iostream supports string.