[libcxx-commits] [libcxx] [libc++] Simplify the implementation of string::{append, assign, assign_range} (PR #162254)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 8 08:27:55 PDT 2025


================
@@ -1413,24 +1413,16 @@ public:
   _LIBCPP_CONSTEXPR_SINCE_CXX20 basic_string& append(const value_type* _LIBCPP_DIAGNOSE_NULLPTR __s);
   _LIBCPP_CONSTEXPR_SINCE_CXX20 basic_string& append(size_type __n, value_type __c);
----------------
ldionne wrote:

Can we add a comment explaining what `__string_is_trivial_iterator_v` represents? It was introduced in https://reviews.llvm.org/D98573.

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


More information about the libcxx-commits mailing list