Boost logo

Boost Users :

Subject: Re: [Boost-users] How to connect to any boost::signal with a void returning function?
From: Chris Stankevitz (chrisstankevitz_at_[hidden])
Date: 2012-08-14 12:01:22


>
> I'm trying to connect a simple void returning function to multiple signals
> of varying signature, I can see some references mentioning that it's
> possible using boost::lambda::bind and boost::spirit::bind, But I keep
> getting compilation errors, Is there something wrong with the following
> code? Or is there a better way to do it? or is it not possible to do?
>
>
Sak,

I have no idea what is a spirit or a phoenix, but your code compiles fine
on my computer except for "undefined printf" which I commented out:

gcc 4.5.3
boost 1.48

Chris



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