do {
swapped = false;
for (int i = 0; i < strs.size() - 1; i++) {
if (strs[i].compareTo(strs[i + 1]) > strs[i + 1].compareTo(strs[i])) {
//swap(strs[i], strs[i + 1]);
vector<ASString> temp;
temp[0] = strs[i];
strs[i] = strs[i + 1];
strs[i + 1] = temp[0];
swapped = true;
}
}
} while (swapped == true);
我有这个但它会抛出错误,说有一个&#34;无效参数被填充到一个认为无效参数致命的函数&#34;