boost/libs/config/test/boost_no_cxx11_hdr_tuple.ipp

25 lines
604 B
Plaintext
Raw Permalink Normal View History

2018-01-12 21:47:58 +01: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_TUPLE
// TITLE: C++0x header <tuple> unavailable
// DESCRIPTION: The standard library does not supply C++0x header <tuple>
#include <tuple>
namespace boost_no_cxx11_hdr_tuple {
int test()
{
std::tuple<int, int, long> t(0, 1, 2);
2021-10-05 21:37:46 +02:00
(void)t;
2018-01-12 21:47:58 +01:00
return 0;
}
}