0101デフォルトの名無しさん垢版 | 大砲2017/07/26(水) 03:01:12.72ID:73NCM6AX int main() { vector<int> v; v.reserve(10000); v.push_back(0); cout << v.capacity() << endl; vector<int> (v).swap(v); cout << v.capacity() << endl; } (v).swap(v); の文頭のvに付いてる()は何の意味があるんでしょうか?