1 // (C) Copyright 2008-10 Anthony Williams
2 // (C) Copyright 2011-2015 Vicente J. Botet Escriba
4 // Distributed under the Boost Software License, Version 1.0. (See
5 // accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt)
8 #ifndef BOOST_THREAD_FUTURES_FUTURE_STATUS_HPP
9 #define BOOST_THREAD_FUTURES_FUTURE_STATUS_HPP
11 #include <boost/thread/detail/config.hpp>
12 #include <boost/core/scoped_enum.hpp>
16 //enum class future_status
17 BOOST_SCOPED_ENUM_DECLARE_BEGIN(future_status)
23 BOOST_SCOPED_ENUM_DECLARE_END(future_status)
24 namespace future_state
26 enum state { uninitialized, waiting, ready, moved, deferred };