[libcxx-commits] [libcxx] Add C++23 stacktrace (P0881R7) (PR #136528)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Sep 1 01:29:57 PDT 2025
================
@@ -0,0 +1,106 @@
+//===----------------------------------------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+/*
+Allocator class useful for testing various propagation, always-equal scenarios.
+*/
+
+#ifndef _LIBCPP_STACKTRACE_TEST_ALLOCS_H
+#define _LIBCPP_STACKTRACE_TEST_ALLOCS_H
+
+#include <cstddef>
+#include <memory>
+#include <type_traits>
+
+template <typename T, bool _KNoExCtors, bool _KNoExAlloc, bool _KPropagate, bool _KAlwaysEqual>
----------------
philnik777 wrote:
Using an identifier with and underscore and big letter at the start is UB.
https://github.com/llvm/llvm-project/pull/136528
More information about the libcxx-commits
mailing list