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