[libcxx-commits] [libcxx] [libc++] Implement P0843R14: `inplace_vector` (PR #204008)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jun 15 18:56:25 PDT 2026
================
@@ -0,0 +1,1132 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef _LIBCPP_INPLACE_VECTOR
+#define _LIBCPP_INPLACE_VECTOR
+
+/*
+ inplace_vector synopsis
+
+namespace std {
+ template<class T, size_t N>
+ class inplace_vector {
----------------
frederick-vs-ja wrote:
Also, [LWG4147](https://cplusplus.github.io/LWG/issue4147) (#118361) seems to be Nothing To Do, but IIUC we should treat it implemented together with `inplace_vector`.
[LWG4396](https://cplusplus.github.io/LWG/issue4396) (#171373) doesn't seem being implemented. I'm personally fine to have it implemented in another PR because it touches a concentrated mechanism about "statically sized" ranges. Would you mind to implement it together?
https://github.com/llvm/llvm-project/pull/204008
More information about the libcxx-commits
mailing list