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.
1 parent 2026a50 commit 422d941Copy full SHA for 422d941
libcxx/include/__ranges/cartesian_product_view.h
@@ -11,6 +11,7 @@
11
12
#include <__config>
13
#include <__iterator/access.h> // begin
14
+#include <__iterator/default_sentinel.h>
15
#include <__iterator/distance.h>
16
#include <__iterator/iter_move.h>
17
#include <__iterator/next.h>
@@ -112,6 +113,8 @@ class cartesian_product_view : public view_interface<cartesian_product_view<Firs
112
113
return end_impl<is_const>();
114
}
115
116
+ constexpr default_sentinel_t end() const noexcept { return {}; }
117
+
118
constexpr auto size()
119
requires(sized_range<First> && ... && sized_range<Vs>)
120
{
0 commit comments