[libcxx-commits] [libcxx] [libc++] Fix ambiguity due to non-uglified member typedefs (PR #121664)

Peng Liu via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jan 9 14:00:32 PST 2025


================
@@ -41,6 +42,12 @@ struct __has_storage_type {
   static const bool value = false;
 };
 
+template <typename _Cp>
+struct __size_difference_type_traits {
+  using difference_type = typename _Cp::difference_type;
+  using size_type       = typename _Cp::size_type;
+};
----------------
winner245 wrote:

Done. Thanks.

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


More information about the libcxx-commits mailing list