Boost logo

Boost Users :

From: Leon Mergen (leon_at_[hidden])
Date: 2004-12-14 07:52:14


On Mon, Dec 13, 2004 at 07:52:44PM +0000, Ben Hutchings wrote:
> This calls the constructor you expected once, and then the copy
> constructor as well. If you don't want the BackupHandlerThread to be
> copied, I think you need to construct it other than as a temporary and
> pass a reference wrapper (boost::ref<BackupHandlerThread>) to the thread
> constructor.

Ahhh, this solution indeed works - thanks a lot for your quick response!

Regards,

Leon Mergen


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