[libcxx-commits] [libcxx] [libc++] Add exception guard for vector<bool>::__init_with_sentinel (PR #115491)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Nov 26 12:29:01 PST 2024


================
@@ -0,0 +1,87 @@
+//===----------------------------------------------------------------------===//
+//
+// 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 EXCEPTION_TEST_HELPERS_H
+#define EXCEPTION_TEST_HELPERS_H
+
+#include "count_new.h"
+
----------------
ldionne wrote:

Missing includes `<type_traits>`, `<cstddef>`, `<memory>` and `<cassert>`.

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


More information about the libcxx-commits mailing list