Boost logo

Boost Users :

Subject: [Boost-users] [Thread] Missing #includes in future.hpp
From: Andrew Holden (aholden_at_[hidden])
Date: 2010-08-09 16:35:32

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

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