File indexing completed on 2026-05-03 08:13:52
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef _LIBCPP___FWD_ARRAY_H
0010 #define _LIBCPP___FWD_ARRAY_H
0011
0012 #include <__config>
0013 #include <__cstddef/size_t.h>
0014 #include <__type_traits/integral_constant.h>
0015
0016 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0017 # pragma GCC system_header
0018 #endif
0019
0020 _LIBCPP_BEGIN_NAMESPACE_STD
0021
0022 template <class _Tp, size_t _Size>
0023 struct _LIBCPP_TEMPLATE_VIS array;
0024
0025 template <size_t _Ip, class _Tp, size_t _Size>
0026 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 _Tp& get(array<_Tp, _Size>&) _NOEXCEPT;
0027
0028 template <size_t _Ip, class _Tp, size_t _Size>
0029 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 const _Tp& get(const array<_Tp, _Size>&) _NOEXCEPT;
0030
0031 #ifndef _LIBCPP_CXX03_LANG
0032 template <size_t _Ip, class _Tp, size_t _Size>
0033 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 _Tp&& get(array<_Tp, _Size>&&) _NOEXCEPT;
0034
0035 template <size_t _Ip, class _Tp, size_t _Size>
0036 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 const _Tp&& get(const array<_Tp, _Size>&&) _NOEXCEPT;
0037 #endif
0038
0039 template <class _Tp>
0040 inline const bool __is_std_array_v = false;
0041
0042 template <class _Tp, size_t _Size>
0043 inline const bool __is_std_array_v<array<_Tp, _Size> > = true;
0044
0045 _LIBCPP_END_NAMESPACE_STD
0046
0047 #endif