summaryrefslogtreecommitdiff
path: root/libs/config/test/boost_no_cxx11_hdr_future.ipp
blob: 3913e3c75afbfdf7561a8e4c6f841318a8798e11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//  (C) Copyright Beman Dawes 2009

//  Use, modification and distribution are subject to the
//  Boost Software License, Version 1.0. (See accompanying file
//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

//  See http://www.boost.org/libs/config for more information.

//  MACRO:         BOOST_NO_CXX11_HDR_FUTURE
//  TITLE:         C++0x header <future> unavailable
//  DESCRIPTION:   The standard library does not supply C++0x header <future>

#include <future>

namespace boost_no_cxx11_hdr_future {

int test()
{
  using std::is_error_code_enum;
  using std::make_error_code;
  using std::make_error_condition;
  using std::future_category;
  using std::future_error;
  using std::promise;
  using std::promise;
  using std::promise;
  using std::future;
  using std::shared_future;
  using std::atomic_future;
  using std::packaged_task; // undefined
  using std::async;
  return 0;
}

}