Root/src/delegate.h

1#ifndef __DELEGATE_H__
2#define __DELEGATE_H__
3
4#include <functional>
5
6typedef std::function<void(void)> function_t;
7
8#define BIND(function) std::bind(function, this)
9
10#endif /* __DELEGATE_H__ */
11

Archive Download this file



interactive