Files
config/test/boost_no_cxx11_hdr_future.ipp

33 lines
844 B
Plaintext
Raw Normal View History

2009-05-30 11:22:59 +00:00
// (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
2009-05-30 11:22:59 +00:00
// 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 {
2009-05-30 11:22:59 +00:00
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::future;
using std::shared_future;
using std::packaged_task; // undefined
using std::async;
2009-05-30 11:22:59 +00:00
return 0;
}
}