[libcxx-commits] [libcxx] [libc++][spaceship] Implements X::iterator container requirements. (PR #99343)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jul 17 18:51:50 PDT 2024
================
@@ -10,6 +10,7 @@
#ifndef _LIBCPP___ITERATOR_WRAP_ITER_H
#define _LIBCPP___ITERATOR_WRAP_ITER_H
+#include <__compare/ordering.h>
----------------
frederick-vs-ja wrote:
IIUC we also need to change `__bounded_iter` (provided in `<__iterator/bounded_iter.h>`) which is conditionally used by `span` and `basic_string_view`.
[N4868 [string.view.iterators]/2](https://timsong-cpp.github.io/cppwp/n4868/string.view.iterators#2) and [[span.iterators]/2](https://timsong-cpp.github.io/cppwp/n4868/span.iterators#2) require their iterator types to meet the requirements on container iterators.
https://github.com/llvm/llvm-project/pull/99343
More information about the libcxx-commits
mailing list