mirror of
https://github.com/boostorg/config.git
synced 2025-11-03 09:11:37 +01: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]
24 lines
604 B
C++
24 lines
604 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_ARRAY
|
|
// TITLE: C++0x header <array> unavailable
|
|
// DESCRIPTION: The standard library does not supply C++0x header <array>
|
|
|
|
#include <array>
|
|
|
|
namespace boost_no_0x_hdr_array {
|
|
|
|
int test()
|
|
{
|
|
std::array<int, 3> a = { 1, 2, 3 };
|
|
return a.size() == 3 ? 0 : 1;
|
|
}
|
|
|
|
}
|