2009-04-01から1日間の記事一覧
はじめての関数オブジェクト体験。 動かん あるvectorの要素で、他のvector中にも入っているやつを取り除こうとして次のようなコードを書いたらコンパイルエラーになりました。 #include <iostream> #include <vector> #include <algorithm> #include <functional> bool contains(const std::vector<int> v,</int></functional></algorithm></vector></iostream>…