Boost logo

Boost Users :

Subject: Re: [Boost-users] How to connect to any boost::signal with a void returning function?
From: Sak (mailjsv_at_[hidden])
Date: 2012-08-14 13:30:31


Hi Chris,

Doh, yes gave a try with boost 1.49 and it builds ok.

Thanks,
Sak

On Tue, Aug 14, 2012 at 5:01 PM, Chris Stankevitz <chrisstankevitz_at_[hidden]
> wrote:

> 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 mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



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