The classes ostream_withassign, istream_withassign, and iostream_withassign do not exist in the standard iostreams anymore. You can only assign the data components of a stream to another stream. This is done through the public member functions copyfmt() and rdbuf() in class std::basic_ios.