We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Partially reduced:
#include <range/v3/range/access.hpp> #include <range/v3/range/primitives.hpp> #include <range/v3/view/span.hpp> #include <range/v3/view/cartesian_product.hpp> #include <range/v3/view/empty.hpp> int main() { auto e = ranges::view::empty<char>; auto rng = ranges::view::cartesian_product( ranges::span<int, 42>{}, e ); auto const first = ranges::begin(rng); auto const last = ranges::end(rng); for(auto i = 0; i <= ranges::distance(rng); ++i) { for(auto j = 0; j <= ranges::distance(rng); ++j) { (void)((ranges::next(first, i) - ranges::next(first, j)) == i - j); } } }
The text was updated successfully, but these errors were encountered:
CaseyCarter
No branches or pull requests
Partially reduced:
The text was updated successfully, but these errors were encountered: