brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · a63df3a Raw
38 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef _LIBCPP___CXX03___TUPLE_TUPLE_SIZE_H10#define _LIBCPP___CXX03___TUPLE_TUPLE_SIZE_H11 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_header21#endif22 23_LIBCPP_BEGIN_NAMESPACE_STD24 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_STD36 37#endif // _LIBCPP___CXX03___TUPLE_TUPLE_SIZE_H38