Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::thread object initialization. cannot understand.
From: Igor R (boost.lists_at_[hidden])
Date: 2010-01-17 08:10:17


>  boost::thread f(F());

What if you write it this way:

boost::thread f((F()));


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