PNG  IHDR  8] PLTE S =tRNS   PNG  IHDR  8] PLTE S =tRNS   REDROOM
PHP 7.4.33
Preview: array Size: 3.36 KB
//opt/rh/gcc-toolset-14/root/usr/include/c++/14/experimental/array

// <experimental/array> -*- C++ -*-

// Copyright (C) 2015-2024 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library.  This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your option)
// any later version.

// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// Under Section 7 of GPL version 3, you are granted additional
// permissions described in the GCC Runtime Library Exception, version
// 3.1, as published by the Free Software Foundation.

// You should have received a copy of the GNU General Public License and
// a copy of the GCC Runtime Library Exception along with this program;
// see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
// <http://www.gnu.org/licenses/>.

/** @file experimental/array
 *  This is a TS C++ Library header.
 *  @ingroup libfund-ts
 */

#ifndef _GLIBCXX_EXPERIMENTAL_ARRAY
#define _GLIBCXX_EXPERIMENTAL_ARRAY 1

#pragma GCC system_header

#include <bits/requires_hosted.h> // experimental is currently omitted

#if __cplusplus >= 201402L

#include <array>
#include <experimental/type_traits>

namespace std _GLIBCXX_VISIBILITY(default)
{
_GLIBCXX_BEGIN_NAMESPACE_VERSION

namespace experimental
{
inline namespace fundamentals_v2
{
#define __cpp_lib_experimental_make_array 201505
  /**
   * @defgroup make_array Array creation functions
   * @ingroup libfund-ts
   *
   * Array creation functions as described in N4529,
   * Working Draft, C++ Extensions for Library Fundamentals, Version 2
   *
   * @{
   */

template<typename _Dest, typename... _Types>
  struct __make_array_elem
  {
    using type = _Dest;
  };

template<typename... _Types>
  struct __make_array_elem<void, _Types...>
  : common_type<_Types...>
  {
    template <typename>
      struct __is_reference_wrapper : false_type
      {};

    template <typename _Up>
      struct __is_reference_wrapper<reference_wrapper<_Up>> : true_type
      {};

    static_assert(!__or_<__is_reference_wrapper<decay_t<_Types>>...>::value,
                  "make_array must be used with an explicit target type when"
                  "any of the arguments is a reference_wrapper");
  };

/// Create a std::array from a variable-length list of arguments.
template <typename _Dest = void, typename... _Types>
  constexpr
  array<typename __make_array_elem<_Dest, _Types...>::type, sizeof...(_Types)>
  make_array(_Types&&... __t)
  {
    return {{ std::forward<_Types>(__t)... }};
  }

template <typename _Tp, size_t _Nm, size_t... _Idx>
  constexpr array<remove_cv_t<_Tp>, _Nm>
  __to_array(_Tp (&__a)[_Nm], index_sequence<_Idx...>)
  {
    return {{__a[_Idx]...}};
  }

/// Create a std::array from an array.
template <typename _Tp, size_t _Nm>
  constexpr array<remove_cv_t<_Tp>, _Nm>
  to_array(_Tp (&__a)[_Nm])
  noexcept(is_nothrow_constructible<remove_cv_t<_Tp>, _Tp&>::value)
  {
    return experimental::__to_array(__a, make_index_sequence<_Nm>{});
  }

  /// @} group make_array
} // namespace fundamentals_v2
} // namespace experimental

_GLIBCXX_END_NAMESPACE_VERSION
} // namespace std

#endif // C++14

#endif // _GLIBCXX_EXPERIMENTAL_ARRAY

Directory Contents

Dirs: 1 × Files: 42

Name Size Perms Modified Actions
bits DIR
- drwxr-xr-x 2026-04-30 11:58:47
Edit Download
3.67 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
15.72 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
3.36 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
28.12 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
2.03 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
2.52 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
2.31 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
55.00 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
1.62 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
2.38 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
12.01 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
68.82 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
22.16 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
3.52 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
2.28 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
2.79 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
5.97 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
17.83 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
1.58 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
3.73 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
3.40 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
26.06 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
16.73 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
2.61 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
2.45 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
2.14 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
14.17 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
2.66 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
2.88 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
76.44 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
2.68 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
2.92 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
21.96 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
3.27 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
2.07 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
5.74 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
2.48 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
11.79 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
3.07 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
2.94 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
1.76 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download
2.37 KB lrw-r--r-- 2025-11-11 11:26:45
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).
 !"#$%&'(()*+,-./00123456789 t\ wIDATx ]ys  47Y ƒ -  "  Rv  < f{Ɛ $k l L > L  ~h^ 1  [  r G t& h  l F z3O Y ! p A(_g̷ E8 )S 8 c  Kb"z ~ 5 J xAL WU <  *  5 m;W a pB h ~P J 2 3 6 ҙ .Ƹ P i  4g F R L P ΪK/D  M v (a3 k J Œ4N5* SH ` SdJ z  O J Xՠ V>u ߱ BE&L b2 ?2` tX+  c CB A$ i b C ĀMB E : /  # Dx &l =q Ty  0 \p I ( L Ǎ { e 4k ;`u^ヲ eP!( d {  )T A 8 O;Ě n >;s6 !  :Nx `[S D HU ~ q›J F} a g*D 49 / pn k h (t 8NxƐF _!r չ7 ZR R׷ q/5") Ӎ NY 0 x sZ!   o  fu  ,  K"$ ? pg  㕣=  1» {h " fh7    y  } € +7  $ y " X —ą - G P u 4 m >J 5 L =V ' ^@I p ?MS xЌ XV P ! h "C NS9B8̢ ]!K  e   zA , ӏkbY  !< XQ ٿyS| *" f { w  4@[S <  # 0 ! js [m  =,~ o "ݎ DHf Wo $ g ! Vԅ t mB /y Wf V4񺍸 c+@x?  B ~u " xUN e 0 BĂ) ~J pz! 7y6]l Ԥ@ P a< O /DHC `≻  N m"$  0ObB }{ x AO FCG D R ^ "B  { WDH  UR l@ T #  +"d T ; 0 i  D}. 7 ` ' ] w rE &S i ƕiTD EL P _ u h $ Ա FG wVD G L R Zf ' .!] J /ZR oGЍs Mr Ĥ ʬ 3 Q [3 cL ` ^ p + ( F;# B 5 '  2Y f [  ϶R0e }  E 7 6M aۮ H <& n % L] E}Up x紉, Uw' Q  Ǯշo k ވۙ 0N94 VX5 xEDE l D #֤ } C o )W :  ^ s 9  bRf iX5u ཱི 4 :[  T 1. | [E 2ؽ Iy\ : o x K G 5 ylP ' uK E ftb/i[3 .g _  [3M n G, #NwQ5~  ؚ) | n =Ц"x qg gB ` 듘 ~ x w ? ? R~  _ u. &VQ K˻   H C ( TN˄+ `C dA nB׭ D 3"Z G ê ^k H_ /- ~ " R_  .8 Z_ 6@ o  xg  uP ? 3լ @7AM!  E7^ - =V L  x  g-D0  CtmW 7  O  G _ WD0 g C  w1 r d w : a | \  *" f nֳ ^ H# f L ` Z ۽hV  }S F r0Ù Bć5r] @! NL iQ]{s^=4 d  WD  "  "   M; t" 8 5 e dL| "-*st" ) SWD ?R[S e ooF  20.D ? bo =) A i o d ģ ZҰaO @E =) i D a &ܟa CϞ y6 ,<%{^x%{f8? `iw^ ?/ M * IEND B`