1 // (C) Copyright Beman Dawes 2009
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)
7 // See http://www.boost.org/libs/config for more information.
9 // MACRO: BOOST_NO_CXX11_HDR_ARRAY
10 // TITLE: C++0x header <array> unavailable
11 // DESCRIPTION: The standard library does not supply C++0x header <array>
15 namespace boost_no_cxx11_hdr_array {
19 std::array<int, 3> a = {{ 1, 2, 3 }};
20 return a.size() == 3 ? 0 : 1;