2 Copyright 2017 Glen Joseph Fernandes
5 Distributed under Boost Software License, Version 1.0.
6 (See accompanying file LICENSE_1_0.txt or copy at
7 http://www.boost.org/LICENSE_1_0.txt)
10 // MACRO: BOOST_NO_CXX17_STRUCTURED_BINDINGS
11 // TITLE: C++17 structured bindings
12 // DESCRIPTION: C++17 structured bindings are not supported.
16 namespace boost_no_cxx17_structured_bindings {
25 auto [c, d] = std::make_tuple(1, 2);
26 if (c != 1 || d != 2) {
29 auto [a, b] = P{1, 2};
30 if (a != 1 || b != 2) {
36 } /* boost_no_cxx17_structured_bindings */