Implements: https://wg21.link/P2968R2 References: - https://eel.is/c++draft/tuple.general - https://eel.is/c++draft/tuple.syn - https://eel.is/c++draft/tuple.creation - https://github.com/cplusplus/draft/milestone/31 - https://github.com/cplusplus/draft/pull/7109 - https://github.com/cplusplus/papers/issues/1640 - https://cplusplus.github.io/LWG/issue2933 - https://cplusplus.github.io/LWG/issue3978 --------- Co-authored-by: Hristo Hristov <zingam@outlook.com>
21 lines
638 B
C++
21 lines
638 B
C++
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// UNSUPPORTED: c++03
|
|
|
|
// <utility>
|
|
|
|
// inline constexpr ignore-type ignore;
|
|
|
|
// std::ignore should be provided by the headers <tuple> and <utility>.
|
|
// This test validates its presence in <utility>.
|
|
|
|
#include <utility>
|
|
|
|
[[maybe_unused]] auto& ignore_v = std::ignore;
|