Lines Matching refs:array

1 // <array> -*- C++ -*-
25 /** @file include/array
94 struct array
120 swap(array& __other)
196 std::__throw_out_of_range_fmt(__N("array::at: __n (which is %zu) "
208 : (std::__throw_out_of_range_fmt(__N("array::at: __n (which is %zu) "
244 array(_Tp, _Up...)
245 -> array<enable_if_t<(is_same_v<_Tp, _Up> && ...), _Tp>,
252 operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
257 operator!=(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
262 operator<(const array<_Tp, _Nm>& __a, const array<_Tp, _Nm>& __b)
270 operator>(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
275 operator<=(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
280 operator>=(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
294 swap(array<_Tp, _Nm>& __one, array<_Tp, _Nm>& __two)
302 swap(array<_Tp, _Nm>&, array<_Tp, _Nm>&) = delete;
307 get(array<_Tp, _Nm>& __arr) noexcept
309 static_assert(_Int < _Nm, "array index is within bounds");
316 get(array<_Tp, _Nm>&& __arr) noexcept
318 static_assert(_Int < _Nm, "array index is within bounds");
324 get(const array<_Tp, _Nm>& __arr) noexcept
326 static_assert(_Int < _Nm, "array index is within bounds");
333 get(const array<_Tp, _Nm>&& __arr) noexcept
335 static_assert(_Int < _Nm, "array index is within bounds");
346 // Tuple interface to class template array.
352 /// Partial specialization for std::array
354 struct tuple_size<_GLIBCXX_STD_C::array<_Tp, _Nm>>
361 /// Partial specialization for std::array
363 struct tuple_element<_Int, _GLIBCXX_STD_C::array<_Tp, _Nm>>
370 struct __is_tuple_like_impl<_GLIBCXX_STD_C::array<_Tp, _Nm>> : true_type
377 # include <debug/array>
381 # include <profile/array>