Boost logo

Boost Users :

From: David Dyer-Bennet (dd-b_at_[hidden])
Date: 2008-07-16 14:22:52


On Wed, July 16, 2008 13:18, Igor R wrote:

> //task.hpp
> class Task
> {
> public:
> typedef signal<void (void)> CompletionEvent;
> void operator ()()
> {
> // forward the execution to the processor;
> (*processor)(bind(&Task::run, this),
> bind(&CompetionEvent::connect, &done_, _1)); // this bind dosen't
> compile!

This is too obvious to be the real answer, but the first thing that I see
on the line you say doesn't compile is a typo in the class name.

-- 
David Dyer-Bennet, dd-b_at_[hidden]; http://dd-b.net/
Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
Photos: http://dd-b.net/photography/gallery/
Dragaera: http://dragaera.info

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net