[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
Wed Aug 21 06:03:53 PDT 2024
================
@@ -689,6 +689,9 @@ private:
const value_type* __data_;
size_type __size_;
+
+ template<class, class, class>
+ friend class basic_string;
----------------
ldionne wrote:
Let's add `#include <__fwd/string.h>`. It's already transitively included via `__fwd/string_view.h`, but let's be IWYU clean.
https://github.com/llvm/llvm-project/pull/105441
More information about the libcxx-commits
mailing list