[libcxx-commits] [libcxx] [libc++] Remove assumptions that std::array::iterator is a raw pointer (PR #74624)
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Dec 8 09:50:20 PST 2023
================
@@ -49,7 +51,8 @@ namespace __formatter {
// Generic
//
-_LIBCPP_HIDE_FROM_ABI inline char* __insert_sign(char* __buf, bool __negative, __format_spec::__sign __sign) {
+template <contiguous_iterator _Iterator>
----------------
mordante wrote:
These iterators should be constrained to have a `char` `value_type` the current constrains loosen these restrictions. (I'm fine with new concept `contiguous_char_iterator` if you prefer that.)
https://github.com/llvm/llvm-project/pull/74624
More information about the libcxx-commits
mailing list