boost::bindã¯ãªããªã便å©ã§ã C#ã®ããªã²ã¼ãã§å®è£ ãã¦ã¿ã¾ãã ããªã²ã¼ã C#ã§ã¯ delegate ã¨ãã ã¡ã½ãããã«ãã»ã«åããæ©è½ãããã¾ãã å®éèªåããå®ç¾©ããå¿ è¦ãªãã Action 㨠Func ã使ç¨ãããã¨ãå¤ãã§ã Action 㨠Func ã®ç°¡åãªä¾ // int ãåãåãã¡ã½ãããå®ç¾©ãã public static void DelegateMethod(int i) { // do do something } // Actionããªã²ã¼ãä¿å Action<int> handler = DelegateMethod; // ããªã²ã¼ããå®è¡ãã handler(10); ããããã㨠ãªãã¸ã§ã¯ãã«å¯¾ãã¦å¼æ°ãé¨åçã«æç¸ãã å¼ç¨:bind(C++11) - cpprefjp - C++ Library Reference ã¤ã¡ã¼ã¸ /
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}