File indexing completed on 2025-01-30 10:01:11
0001
0002
0003
0004
0005
0006
0007 #ifndef BOOST_THREAD_EXECUTORS_WORK_HPP
0008 #define BOOST_THREAD_EXECUTORS_WORK_HPP
0009
0010 #include <boost/thread/detail/config.hpp>
0011 #if defined BOOST_THREAD_PROVIDES_FUTURE_CONTINUATION && defined BOOST_THREAD_PROVIDES_EXECUTORS && defined BOOST_THREAD_USES_MOVE
0012
0013 #include <boost/thread/detail/nullary_function.hpp>
0014 #include <boost/thread/csbl/functional.hpp>
0015
0016 namespace boost
0017 {
0018 namespace executors
0019 {
0020 typedef detail::nullary_function<void()> work;
0021
0022 #ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
0023 typedef detail::nullary_function<void()> work_pq;
0024
0025 #else
0026 typedef csbl::function<void()> work_pq;
0027 #endif
0028 }
0029 }
0030
0031 #endif
0032 #endif