[libcxx-commits] [libcxx] [libc++] Have `basic_string` call `basic_string_view`'s assume-valid constructor (PR #105441)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Aug 22 13:54:57 PDT 2024
================
@@ -689,6 +689,9 @@ private:
const value_type* __data_;
size_type __size_;
+
+ template<class, class, class>
+ friend class basic_string;
----------------
ldionne wrote:
I think I would, in case we declare it with attributes or something like that. It would be nice for the "canonical" declaration to always be included. It's already included transitively right now anyway, but I'd rather be intentional about it.
https://github.com/llvm/llvm-project/pull/105441
More information about the libcxx-commits
mailing list