Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/#include <functional>#include <iostream>#define MY_CALLBACK_0(__selector__,__target__, ) std::bind(&__selector__,__target__, ##__VA_ARGS__)#define MY_CALLBACK_1(__selector__,__target__, ) std::bind(&__selector__,__target__, std::placeholders::_1, ##__VA_ARGS__)#define MY_CALLBACK_2(__selector__,__target__, ) std::bind(&__selector__,__target__, std::placeholders::_1, std::placeholders::_2, ##__
...
继续阅读
(11)