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

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Dec 5 10:29:41 PST 2024


================
@@ -73,7 +73,7 @@ struct __void_pointer {
 template <class _Ptr, class _Alloc>
 struct __void_pointer<_Ptr, _Alloc, false> {
 #ifdef _LIBCPP_CXX03_LANG
-  using type _LIBCPP_NODEBUG = typename pointer_traits<_Ptr>::template rebind<void>::other;
+  using type = typename pointer_traits<_Ptr>::template rebind<void>::other;
----------------
cmtice wrote:

I noticed that the stage 1 generic-cxx03 builder failed, so I thought maybe Cxx03 didn't recognize _LIBCPP_NODEBUG?

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


More information about the libcxx-commits mailing list