Boost logo

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