{"blog_title":"joynote break;","author_name":"joynote","title":" std::bind\u3092\u3084\u3063\u3068\u7406\u89e3","published":"2010-07-23 15:53:51","url":"https://joynote.hatenadiary.org/entry/20100723/1279868031","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjoynote.hatenadiary.org%2Fentry%2F20100723%2F1279868031\" title=\" std::bind\u3092\u3084\u3063\u3068\u7406\u89e3 - joynote break;\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","version":"1.0","categories":["C++","C++0x"],"image_url":null,"provider_name":"Hatena Blog","description":"bind\u304c\u4eca\u307e\u3067\u30a4\u30de\u30a4\u30c1\u7406\u89e3\u3067\u304d\u3066\u306a\u304b\u3063\u305f\u3051\u3069\u3001\u66f8\u3044\u3066\u307f\u305f\u3089\u4e00\u767a\u3067\u7406\u89e3\u3002 \u8981\u306f\u3001function(\u95a2\u6570\u30dd\u30a4\u30f3\u30bf/\u95a2\u6570\u30aa\u30d6\u30b8\u30a7\u30af\u30c8/\u30e9\u30e0\u30c0\u5f0f)\u306e\u5f15\u6570\u3092\u675f\u7e1b\u3057\u3066\u65b0\u3057\u3044function\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u751f\u6210\u3057\u3066\u308b\u306e\u306d\u3002 #include <functional> #include <iostream> using namespace std; void Func(int a, int b) { cout << a*b << endl; } int main(){ // int\u306e\u5f15\u65701\u3064\u306efunction function<void (int)> func; // int\u5f15\u65702\u3064\u306efunction\u306e\u7247\u65b9\u3092\u2026","blog_url":"https://joynote.hatenadiary.org/","author_url":"https://blog.hatena.ne.jp/joynote/","provider_url":"https://hatena.blog","width":"100%","type":"rich"}