Warning: This file is not a C or C++ file. It does not have highlighting.

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//===----------------------------------------------------------------------===//
8
9#ifndef _LIBCPP___CXX03___TUPLE_TUPLE_SIZE_H
10#define _LIBCPP___CXX03___TUPLE_TUPLE_SIZE_H
11
12#include <__cxx03/__config>
13#include <__cxx03/__fwd/tuple.h>
14#include <__cxx03/__tuple/tuple_types.h>
15#include <__cxx03/__type_traits/is_const.h>
16#include <__cxx03/__type_traits/is_volatile.h>
17#include <__cxx03/cstddef>
18
19#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
20# pragma GCC system_header
21#endif
22
23_LIBCPP_BEGIN_NAMESPACE_STD
24
25template <class _Tp>
26struct _LIBCPP_TEMPLATE_VIS tuple_size;
27
28template <class _Tp>
29struct _LIBCPP_TEMPLATE_VIS tuple_size<const _Tp> : public tuple_size<_Tp> {};
30template <class _Tp>
31struct _LIBCPP_TEMPLATE_VIS tuple_size<volatile _Tp> : public tuple_size<_Tp> {};
32template <class _Tp>
33struct _LIBCPP_TEMPLATE_VIS tuple_size<const volatile _Tp> : public tuple_size<_Tp> {};
34
35_LIBCPP_END_NAMESPACE_STD
36
37#endif // _LIBCPP___CXX03___TUPLE_TUPLE_SIZE_H
38

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of libcxx/include/__cxx03/__tuple/tuple_size.h