|
Boost Users : |
Subject: Re: [Boost-users] [Signals2] How to connect member functions with more than one argument?
From: Igor R (boost.lists_at_[hidden])
Date: 2010-01-07 04:08:38
> Â Â void consume()
> Â Â {
> Â Â Â Â sig.connect(boost::bind(&self_type::process, this, _1));
>
> Â Â Â Â sig(2,0.5);
> Â Â }
sig.connect(boost::bind(&self_type::process, this, _1, _2));
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