$include_dir="/home/hyper-archives/threads-devel/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Threads-devel] Threads and copy constructors...
From: Matthias Vallentin (vallentin_at_[hidden])
Date: 2012-02-22 13:19:58
> Â boost::thread t1( c1 );
If you just want to avoid copying, you could wrap use a reference wrapper:
boost::thread t1( boost::ref(c1) );
See http://www.boost.org/doc/libs/1_48_0/doc/html/ref.html for details.
Matthias