[libcxx-commits] [libcxx] [libc++] Destroy elements when exceptions are thrown in __construct_at_end (PR #167112)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Mon Nov 17 02:29:01 PST 2025


================
@@ -123,6 +124,18 @@ uninitialized_fill(_ForwardIterator __first, _ForwardIterator __last, const _Tp&
 
 // uninitialized_fill_n
 
+template <class _Alloc, class _ForwardIterator, class _Size, class _Tp>
+inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _ForwardIterator
----------------
philnik777 wrote:

```suggestion
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _ForwardIterator
```
Same below.

https://github.com/llvm/llvm-project/pull/167112


More information about the libcxx-commits mailing list