Boost logo

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