boost_no_cxx11_hdr_future.ipp 888 B

12345678910111213141516171819202122232425262728293031323334
  1. // (C) Copyright Beman Dawes 2009
  2. // Use, modification and distribution are subject to the
  3. // Boost Software License, Version 1.0. (See accompanying file
  4. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. // See http://www.boost.org/libs/config for more information.
  6. // MACRO: BOOST_NO_CXX11_HDR_FUTURE
  7. // TITLE: C++0x header <future> unavailable
  8. // DESCRIPTION: The standard library does not supply C++0x header <future>
  9. #include <future>
  10. namespace boost_no_cxx11_hdr_future {
  11. int test()
  12. {
  13. using std::is_error_code_enum;
  14. using std::make_error_code;
  15. using std::make_error_condition;
  16. using std::future_category;
  17. using std::future_error;
  18. using std::promise;
  19. using std::promise;
  20. using std::promise;
  21. using std::future;
  22. using std::shared_future;
  23. using std::packaged_task; // undefined
  24. using std::async;
  25. return 0;
  26. }
  27. }