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.

Anthony

-- 
Author of C++ Concurrency in Action     http://www.stdthread.co.uk/book/
just::thread C++0x thread library             http://www.stdthread.co.uk
Just Software Solutions Ltd       http://www.justsoftwaresolutions.co.uk
15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976

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