{"blog_title":"\u63ee\u767a\u6027\u306e\u30e1\u30e2\uff12","published":"2012-07-04 00:00:01","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiww.hateblo.jp%2Fentry%2F20120704%2Fvector\" title=\"\u30ea\u30b9\u30c8\u3092\u4f5c\u3063\u3066\u524a\u9664\u3059\u308b - \u63ee\u767a\u6027\u306e\u30e1\u30e2\uff12\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"list\u3058\u3083\u306a\u304f\u3066vector\u3060\u3051\u3069\u3002 #include <iostream> #include <vector> using namespace std; class Hoge { public: int number; virtual ~Hoge(){ cout << number << endl; } typedef vector<Hoge*> List; typedef vector<Hoge*>::iterator Iterator; }; class Piyo : public Hoge { public: Piyo(int a){ number=a; cout << number\u2026","categories":["C++"],"blog_url":"https://iww.hateblo.jp/","provider_url":"https://hatena.blog","url":"https://iww.hateblo.jp/entry/20120704/vector","title":"\u30ea\u30b9\u30c8\u3092\u4f5c\u3063\u3066\u524a\u9664\u3059\u308b","author_name":"iww","version":"1.0","height":"190","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/iww/","type":"rich","width":"100%"}