1*700637cbSDimitry Andric //===---------------------------------------------------------------------===// 2*700637cbSDimitry Andric // 3*700637cbSDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*700637cbSDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 5*700637cbSDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*700637cbSDimitry Andric // 7*700637cbSDimitry Andric //===---------------------------------------------------------------------===// 8*700637cbSDimitry Andric 9*700637cbSDimitry Andric #ifndef _LIBCPP___CXX03___FWD_ARRAY_H 10*700637cbSDimitry Andric #define _LIBCPP___CXX03___FWD_ARRAY_H 11*700637cbSDimitry Andric 12*700637cbSDimitry Andric #include <__cxx03/__config> 13*700637cbSDimitry Andric #include <__cxx03/cstddef> 14*700637cbSDimitry Andric 15*700637cbSDimitry Andric #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) 16*700637cbSDimitry Andric # pragma GCC system_header 17*700637cbSDimitry Andric #endif 18*700637cbSDimitry Andric 19*700637cbSDimitry Andric _LIBCPP_BEGIN_NAMESPACE_STD 20*700637cbSDimitry Andric 21*700637cbSDimitry Andric template <class _Tp, size_t _Size> 22*700637cbSDimitry Andric struct _LIBCPP_TEMPLATE_VIS array; 23*700637cbSDimitry Andric 24*700637cbSDimitry Andric template <size_t _Ip, class _Tp, size_t _Size> 25*700637cbSDimitry Andric _LIBCPP_HIDE_FROM_ABI _Tp& get(array<_Tp, _Size>&) _NOEXCEPT; 26*700637cbSDimitry Andric 27*700637cbSDimitry Andric template <size_t _Ip, class _Tp, size_t _Size> 28*700637cbSDimitry Andric _LIBCPP_HIDE_FROM_ABI const _Tp& get(const array<_Tp, _Size>&) _NOEXCEPT; 29*700637cbSDimitry Andric 30*700637cbSDimitry Andric template <class> 31*700637cbSDimitry Andric struct __is_std_array : false_type {}; 32*700637cbSDimitry Andric 33*700637cbSDimitry Andric template <class _Tp, size_t _Size> 34*700637cbSDimitry Andric struct __is_std_array<array<_Tp, _Size> > : true_type {}; 35*700637cbSDimitry Andric 36*700637cbSDimitry Andric _LIBCPP_END_NAMESPACE_STD 37*700637cbSDimitry Andric 38*700637cbSDimitry Andric #endif // _LIBCPP___CXX03___FWD_ARRAY_H 39