std::vector<Foo*>
std::vector<Foo>
のインターフェイスに共通部分がない。アキラメロン。