Boost logo

Boost Users :

Subject: Re: [Boost-users] Passing signals as functions
From: Remko Tronçon (remko_at_[hidden])
Date: 2008-12-30 16:41:22


Hi Igor,

> You could define the function as a template that takes "callable"
> parameter, then pass either boost::function or boost::signal (or a
> binder with that signal).

The problem is that the function taking the function parameter is a
pure virtual, so I can't really use a template function, can I?

cheers,
Remko


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