{"blog_title":"\u9591\u53e4\u9ce5","image_url":null,"published":"2006-03-09 12:40:48","author_url":"https://blog.hatena.ne.jp/wata_d/","width":"100%","categories":["C++","programming","boost"],"url":"https://www.little-cuckoo.jp/entry/20060309/1141875648","type":"rich","provider_url":"https://hatena.blog","blog_url":"https://www.little-cuckoo.jp/","version":"1.0","description":"\u3067\u3063\u3061\u3042\u3052\u3066\u307f\u305f\u3002 id:wata_d:20060309:1141873430 \u3068\u540c\u3058\u4e8b\u3092 C++ \u3067\u3002 #include #include template class Delegater { std::vector > func_; public: Delegater() {} template Delegater(const U& f) { func_.push_back(f); } template Delegater& operator+=(const U& f) { func_.push_back(f); return *this; } void Invoke() { for(si\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.little-cuckoo.jp%2Fentry%2F20060309%2F1141875648\" title=\"C++ \u3067 delegate - \u9591\u53e4\u9ce5\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"wata_d","title":"C++ \u3067 delegate","provider_name":"Hatena Blog","height":"190"}