Boost logo

Boost Users :

Subject: Re: [Boost-users] [Thread] Missing #includes in future.hpp
From: Anthony Williams (anthony.ajw_at_[hidden])
Date: 2010-08-10 04:55:46

"Andrew Holden" <aholden_at_[hidden]> writes:

> I noticed that my code that uses futures wouldn't compile until I added
> the following two lines to future.hpp:
> #include <boost/thread/mutex.hpp>
> #include <boost/thread/condition_variable.hpp>
> I am wondering if this is an oversight, or if there is a specific reason
> these files weren't included in future.hpp

It was an oversight, and these have been added for the boost 1.44 release.


Author of C++ Concurrency in Action
just::thread C++0x thread library   
Just Software Solutions Ltd
15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at