[libcxx-commits] [libcxx] [libc++] Partially implement P2846R6: `reserve_hint` (PR #206385)

Hristo Hristov via libcxx-commits libcxx-commits at lists.llvm.org
Thu Aug 6 02:02:14 PDT 2026


================
@@ -52,6 +53,10 @@ namespace std::ranges {
   template <range R>
     using range_common_reference_t = iter_common_reference_t<iterator_t<R>>;
 
+  // [range.approximately.sized], approximately sized ranges
+  template<class T>
+    concept approximately_sized_range = ...;
----------------
Zingam wrote:

```suggestion
    concept approximately_sized_range = ...; // Since C++26
```

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


More information about the libcxx-commits mailing list