Fix macho-merged-funcs-dwarf.yaml test on Windows
[llvm-project.git] / libcxx / include / __cxx03 / __tuple / tuple_indices.h
blob0c423d99ccb638ff0a8063712832c11c3ea6b7ab
1 //===----------------------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef _LIBCPP___CXX03___TUPLE_MAKE_TUPLE_INDICES_H
10 #define _LIBCPP___CXX03___TUPLE_MAKE_TUPLE_INDICES_H
12 #include <__cxx03/__config>
13 #include <__cxx03/__utility/integer_sequence.h>
14 #include <__cxx03/cstddef>
16 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
17 # pragma GCC system_header
18 #endif
20 #ifndef _LIBCPP_CXX03_LANG
22 _LIBCPP_BEGIN_NAMESPACE_STD
24 template <size_t...>
25 struct __tuple_indices {};
27 template <size_t _Ep, size_t _Sp = 0>
28 struct __make_tuple_indices {
29 static_assert(_Sp <= _Ep, "__make_tuple_indices input error");
30 typedef __make_indices_imp<_Ep, _Sp> type;
33 _LIBCPP_END_NAMESPACE_STD
35 #endif // _LIBCPP_CXX03_LANG
37 #endif // _LIBCPP___CXX03___TUPLE_MAKE_TUPLE_INDICES_H