Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:01:11

0001 //  (C) Copyright 2013,2014 Vicente J. Botet Escriba
0002 //
0003 //  Distributed under the Boost Software License, Version 1.0. (See
0004 //  accompanying file LICENSE_1_0.txt or copy at
0005 //  http://www.boost.org/LICENSE_1_0.txt)
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     //typedef csbl::function<void()> work_pq;
0025 #else
0026     typedef csbl::function<void()> work_pq;
0027 #endif
0028   }
0029 } // namespace boost
0030 
0031 #endif
0032 #endif //  BOOST_THREAD_EXECUTORS_WORK_HPP