2007-02-13から1日間の記事一覧
loki::Functor に boost::bind を食わせる事ができる。はず… struct Point { int x, y; Point(int ax, int ay) : x(ax), y(ay) {} void Add(const Point& rhs) { x += rhs.x; y += rhs.y; } }; Point pt(4, 5); loki::Functor<void, LOKI_TYPELIST_2<Point&, const Point&> adder = boost::bind(&Point::A</void,>…