Boost logo

Boost Users :

Subject: Re: [Boost-users] [thread] About the virtual in virtual operator()
From: Richard Vock (vock_at_[hidden])
Date: 2009-10-30 14:54:59


> The smallest change to your code I think would be this
though.
>
> ---
> thread t( boost::bind( &Kernel::operator(), m_kernel[i] )
);
> t.join();

I've always had problems understanding boost::bind, but this
helps a lot.

And it works too...

Thank you!

Richard


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