cpp/io/basic ispanstream/swap