We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
elements_view
1 parent 99af55f commit 6dc69d0Copy full SHA for 6dc69d0
libcxx/test/std/ranges/range.adaptors/range.elements/sentinel/minus.pass.cpp
@@ -20,6 +20,7 @@
20
21
#include <cassert>
22
#include <concepts>
23
+#include <cstddef>
24
#include <functional>
25
#include <ranges>
26
#include <tuple>
@@ -31,7 +32,7 @@ struct Iter {
31
32
std::tuple<int>* it_;
33
34
using value_type = std::tuple<int>;
- using difference_type = intptr_t;
35
+ using difference_type = std::ptrdiff_t;
36
using iterator_concept = std::input_iterator_tag;
37
38
constexpr decltype(auto) operator*() const { return *it_; }
0 commit comments