[libcxx-commits] [libcxx] [libc++] Refactor the creation of the global and classic locales (PR #72581)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 22 01:13:31 PST 2023


================
@@ -127,6 +127,10 @@ private:
     class __imp;
     __imp* __locale_;
 
+    template <class> friend struct no_destroy;
----------------
philnik777 wrote:

```suggestion
    template <class> friend struct __no_destroy;
```

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


More information about the libcxx-commits mailing list