|
Boost Users : |
Subject: Re: [Boost-users] Trying to use Boost::thread
From: Igor R (boost.lists_at_[hidden])
Date: 2011-07-23 16:31:40
> Â Â Â Â // Compiler error
> Â Â Â Â // boost::thread(boost::ref(*this)); // this compiles
> Â Â Â Â boost::packaged_task<int> pt(boost::ref(*this));
boost::packaged_task<int> pt(boost::bind<int>(boost::ref(*this)));
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