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

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jul 1 17:59:13 PDT 2026


================
@@ -0,0 +1,130 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// REQUIRES: std-at-least-c++26
+
----------------
inquisitivecrystal wrote:

You're all good! I'm still learning my way around the codebase and its conventions, so having something like this pointed out is very helpful. I hadn't paid a lot of attention to those comments previously. This did end up identifying some cases where I was inconsistent with the local conventions of the subdirectories, so I'd say it was pretty useful.

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


More information about the libcxx-commits mailing list