Template:cpp/io/basic fstream/operator=

Move assigns the file stream to, effectively move-assigning both the std base class and the associated std.

is left with no associated file. Note that the base class move assignment swaps all stream state variables (except for ) between and.