@@ -307,22 +307,32 @@ class _LIBCPP_TEMPLATE_VIS vector {
307307 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI reverse_iterator rbegin () _NOEXCEPT _LIBCPP_LIFETIMEBOUND {
308308 return reverse_iterator (end ());
309309 }
310- _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI const_reverse_iterator rbegin () const _NOEXCEPT _LIBCPP_LIFETIMEBOUND {
310+ _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI const_reverse_iterator
311+ rbegin () const _NOEXCEPT _LIBCPP_LIFETIMEBOUND {
311312 return const_reverse_iterator (end ());
312313 }
313314 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI reverse_iterator rend () _NOEXCEPT _LIBCPP_LIFETIMEBOUND {
314315 return reverse_iterator (begin ());
315316 }
316- _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI const_reverse_iterator rend () const _NOEXCEPT _LIBCPP_LIFETIMEBOUND {
317+ _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI const_reverse_iterator
318+ rend () const _NOEXCEPT _LIBCPP_LIFETIMEBOUND {
317319 return const_reverse_iterator (begin ());
318320 }
319321
320- _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI const_iterator cbegin () const _NOEXCEPT _LIBCPP_LIFETIMEBOUND { return begin (); }
321- _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI const_iterator cend () const _NOEXCEPT _LIBCPP_LIFETIMEBOUND { return end (); }
322- _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI const_reverse_iterator crbegin () const _NOEXCEPT _LIBCPP_LIFETIMEBOUND {
322+ _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI const_iterator cbegin () const _NOEXCEPT _LIBCPP_LIFETIMEBOUND {
323+ return begin ();
324+ }
325+ _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI const_iterator cend () const _NOEXCEPT _LIBCPP_LIFETIMEBOUND {
326+ return end ();
327+ }
328+ _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI const_reverse_iterator
329+ crbegin () const _NOEXCEPT _LIBCPP_LIFETIMEBOUND {
323330 return rbegin ();
324331 }
325- _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI const_reverse_iterator crend () const _NOEXCEPT _LIBCPP_LIFETIMEBOUND { return rend (); }
332+ _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI const_reverse_iterator
333+ crend () const _NOEXCEPT _LIBCPP_LIFETIMEBOUND {
334+ return rend ();
335+ }
326336
327337 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI size_type size () const _NOEXCEPT {
328338 return static_cast <size_type>(this ->__end_ - this ->__begin_ );
@@ -337,8 +347,10 @@ class _LIBCPP_TEMPLATE_VIS vector {
337347 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void reserve (size_type __n);
338348 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void shrink_to_fit () _NOEXCEPT;
339349
340- _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI reference operator [](size_type __n) _NOEXCEPT _LIBCPP_LIFETIMEBOUND;
341- _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI const_reference operator [](size_type __n) const _NOEXCEPT _LIBCPP_LIFETIMEBOUND;
350+ _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI reference
351+ operator [](size_type __n) _NOEXCEPT _LIBCPP_LIFETIMEBOUND;
352+ _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI const_reference
353+ operator [](size_type __n) const _NOEXCEPT _LIBCPP_LIFETIMEBOUND;
342354 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI reference at (size_type __n) _LIBCPP_LIFETIMEBOUND;
343355 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI const_reference at (size_type __n) const _LIBCPP_LIFETIMEBOUND;
344356
@@ -390,11 +402,14 @@ class _LIBCPP_TEMPLATE_VIS vector {
390402
391403 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void pop_back ();
392404
393- _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI iterator insert (const_iterator __position, const_reference __x) _LIBCPP_LIFETIMEBOUND;
405+ _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI iterator insert (const_iterator __position, const_reference __x)
406+ _LIBCPP_LIFETIMEBOUND;
394407
395- _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI iterator insert (const_iterator __position, value_type&& __x) _LIBCPP_LIFETIMEBOUND;
408+ _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI iterator insert (const_iterator __position, value_type&& __x)
409+ _LIBCPP_LIFETIMEBOUND;
396410 template <class ... _Args>
397- _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI iterator emplace (const_iterator __position, _Args&&... __args) _LIBCPP_LIFETIMEBOUND;
411+ _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI iterator emplace (const_iterator __position, _Args&&... __args)
412+ _LIBCPP_LIFETIMEBOUND;
398413
399414 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI iterator
400415 insert (const_iterator __position, size_type __n, const_reference __x) _LIBCPP_LIFETIMEBOUND;
@@ -408,7 +423,8 @@ class _LIBCPP_TEMPLATE_VIS vector {
408423
409424#if _LIBCPP_STD_VER >= 23
410425 template <_ContainerCompatibleRange<_Tp> _Range>
411- _LIBCPP_HIDE_FROM_ABI constexpr iterator insert_range (const_iterator __position, _Range&& __range) _LIBCPP_LIFETIMEBOUND {
426+ _LIBCPP_HIDE_FROM_ABI constexpr iterator
427+ insert_range (const_iterator __position, _Range&& __range) _LIBCPP_LIFETIMEBOUND {
412428 if constexpr (ranges::forward_range<_Range> || ranges::sized_range<_Range>) {
413429 auto __n = static_cast <size_type>(ranges::distance (__range));
414430 return __insert_with_size (__position, ranges::begin (__range), ranges::end (__range), __n);
@@ -435,7 +451,8 @@ class _LIBCPP_TEMPLATE_VIS vector {
435451#endif
436452
437453 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI iterator erase (const_iterator __position) _LIBCPP_LIFETIMEBOUND;
438- _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI iterator erase (const_iterator __first, const_iterator __last) _LIBCPP_LIFETIMEBOUND;
454+ _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI iterator erase (const_iterator __first, const_iterator __last)
455+ _LIBCPP_LIFETIMEBOUND;
439456
440457 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void clear () _NOEXCEPT {
441458 size_type __old_size = size ();
0 commit comments