• Home
  • Raw
  • Download

Lines Matching refs:_Size

127 template <class _Tp, size_t _Size>
144 _Tp __elems_[_Size];
148 _VSTD::fill_n(__elems_, _Size, __u);
153 std::swap_ranges(__elems_, __elems_ + _Size, __a.__elems_);
162 iterator end() _NOEXCEPT {return iterator(data() + _Size);}
164 const_iterator end() const _NOEXCEPT {return const_iterator(data() + _Size);}
186 _LIBCPP_CONSTEXPR size_type size() const _NOEXCEPT {return _Size;}
188 _LIBCPP_CONSTEXPR size_type max_size() const _NOEXCEPT {return _Size;}
203 …ISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX14 reference back() {return __elems_[_Size - 1];}
204 …ISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11 const_reference back() const {return __elems_[_Size - 1];}
213 template <class _Tp, size_t _Size>
215 typename array<_Tp, _Size>::reference
216 array<_Tp, _Size>::at(size_type __n)
218 if (__n >= _Size)
224 template <class _Tp, size_t _Size>
226 typename array<_Tp, _Size>::const_reference
227 array<_Tp, _Size>::at(size_type __n) const
229 if (__n >= _Size)
369 template <class _Tp, size_t _Size>
372 operator==(const array<_Tp, _Size>& __x, const array<_Tp, _Size>& __y)
377 template <class _Tp, size_t _Size>
380 operator!=(const array<_Tp, _Size>& __x, const array<_Tp, _Size>& __y)
385 template <class _Tp, size_t _Size>
388 operator<(const array<_Tp, _Size>& __x, const array<_Tp, _Size>& __y)
394 template <class _Tp, size_t _Size>
397 operator>(const array<_Tp, _Size>& __x, const array<_Tp, _Size>& __y)
402 template <class _Tp, size_t _Size>
405 operator<=(const array<_Tp, _Size>& __x, const array<_Tp, _Size>& __y)
410 template <class _Tp, size_t _Size>
413 operator>=(const array<_Tp, _Size>& __x, const array<_Tp, _Size>& __y)
418 template <class _Tp, size_t _Size>
422 _Size == 0 ||
426 swap(array<_Tp, _Size>& __x, array<_Tp, _Size>& __y)
432 template <class _Tp, size_t _Size>
433 struct _LIBCPP_TEMPLATE_VIS tuple_size<array<_Tp, _Size> >
434 : public integral_constant<size_t, _Size> {};
436 template <size_t _Ip, class _Tp, size_t _Size>
437 class _LIBCPP_TEMPLATE_VIS tuple_element<_Ip, array<_Tp, _Size> >
439 static_assert(_Ip < _Size, "Index out of bounds in std::tuple_element<> (std::array)");
444 template <size_t _Ip, class _Tp, size_t _Size>
447 get(array<_Tp, _Size>& __a) _NOEXCEPT
449 static_assert(_Ip < _Size, "Index out of bounds in std::get<> (std::array)");
453 template <size_t _Ip, class _Tp, size_t _Size>
456 get(const array<_Tp, _Size>& __a) _NOEXCEPT
458 static_assert(_Ip < _Size, "Index out of bounds in std::get<> (const std::array)");
464 template <size_t _Ip, class _Tp, size_t _Size>
467 get(array<_Tp, _Size>&& __a) _NOEXCEPT
469 static_assert(_Ip < _Size, "Index out of bounds in std::get<> (std::array &&)");
473 template <size_t _Ip, class _Tp, size_t _Size>
476 get(const array<_Tp, _Size>&& __a) _NOEXCEPT
478 static_assert(_Ip < _Size, "Index out of bounds in std::get<> (const std::array &&)");