mirror of
https://github.com/boostorg/config.git
synced 2026-02-16 01:12:22 +00:00
Update GCC C++0x support. Improve the tests for C++0x support. Regenerate the docs. Update generation program to Boost.Filesystem v3. [SVN r70001]
36 lines
910 B
C++
36 lines
910 B
C++
// (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_0X_HDR_FUTURE
|
|
// TITLE: C++0x header <future> unavailable
|
|
// DESCRIPTION: The standard library does not supply C++0x header <future>
|
|
|
|
#include <future>
|
|
|
|
namespace boost_no_0x_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;
|
|
}
|
|
|
|
}
|