1*b1e83836Smrg// Redeclaration of std::array in debug namespace -*- C++ -*- 248fb7bfaSmrg 3*b1e83836Smrg// Copyright (C) 2021-2022 Free Software Foundation, Inc. 448fb7bfaSmrg// 548fb7bfaSmrg// This file is part of the GNU ISO C++ Library. This library is free 648fb7bfaSmrg// software; you can redistribute it and/or modify it under the 748fb7bfaSmrg// terms of the GNU General Public License as published by the 848fb7bfaSmrg// Free Software Foundation; either version 3, or (at your option) 948fb7bfaSmrg// any later version. 1048fb7bfaSmrg 1148fb7bfaSmrg// This library is distributed in the hope that it will be useful, 1248fb7bfaSmrg// but WITHOUT ANY WARRANTY; without even the implied warranty of 1348fb7bfaSmrg// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1448fb7bfaSmrg// GNU General Public License for more details. 1548fb7bfaSmrg 1648fb7bfaSmrg// Under Section 7 of GPL version 3, you are granted additional 1748fb7bfaSmrg// permissions described in the GCC Runtime Library Exception, version 1848fb7bfaSmrg// 3.1, as published by the Free Software Foundation. 1948fb7bfaSmrg 2048fb7bfaSmrg// You should have received a copy of the GNU General Public License and 2148fb7bfaSmrg// a copy of the GCC Runtime Library Exception along with this program; 2248fb7bfaSmrg// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 2348fb7bfaSmrg// <http://www.gnu.org/licenses/>. 2448fb7bfaSmrg 2548fb7bfaSmrg/** @file debug/array 26*b1e83836Smrg * This file is a GNU debug extension to the Standard C++ Library. 2748fb7bfaSmrg */ 2848fb7bfaSmrg 2948fb7bfaSmrg#ifndef _GLIBCXX_DEBUG_ARRAY 3048fb7bfaSmrg#define _GLIBCXX_DEBUG_ARRAY 1 3148fb7bfaSmrg 3248fb7bfaSmrg#pragma GCC system_header 3348fb7bfaSmrg 34f9a78e0eSmrg#include <array> 35f9a78e0eSmrg 36*b1e83836Smrgnamespace __gnu_debug 3748fb7bfaSmrg{ 3848fb7bfaSmrg template<typename _Tp, std::size_t _Nm> 39*b1e83836Smrg using array _GLIBCXX_DEPRECATED_SUGGEST("std::array") 40*b1e83836Smrg = std::array<_Tp, _Nm>; 4148fb7bfaSmrg 42*b1e83836Smrg using std::get; 43*b1e83836Smrg using std::swap; 4448fb7bfaSmrg} 4548fb7bfaSmrg#endif // _GLIBCXX_DEBUG_ARRAY 46