cpp/io/basic ispanstream/swap2