[libcxx-commits] [libcxx] [libc++] Add missing attribute usages to `<__memory/shared_ptr.h>` (PR #205776)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jun 25 04:17:43 PDT 2026


================
@@ -602,21 +602,21 @@ class _LIBCPP_SHARED_PTR_TRIVIAL_ABI shared_ptr {
 
   template <class _Vp, class = void>
   struct __get_shared_from_this {
-    using type = __nat;
+    using type _LIBCPP_HIDE_FROM_ABI = __nat;
----------------
philnik777 wrote:

Been a bit hasty?

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


More information about the libcxx-commits mailing list