[libcxx-commits] [libcxx] [libc++] Put _LIBCPP_NODEBUG on allocator trait aliases. (PR #118835)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Dec 5 12:28:35 PST 2024


================
@@ -410,7 +410,7 @@ class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_ptr<_Tp[], _Dp>
 public:
   typedef _Tp element_type;
   typedef _Dp deleter_type;
-  using pointer = __pointer<_Tp, deleter_type>;
+  using pointer _LIBCPP_NODEBUG = __pointer<_Tp, deleter_type>;
----------------
ldionne wrote:

About applying to public API typedefs. I think we resolved that question above though, you can drop `_LIBCPP_NODEBUG` from all public API typedefs.

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


More information about the libcxx-commits mailing list