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
The following code fails on an assertion and should fail to compile:
auto ld = view::linear_distribute(1, 10, 10); auto i = next(ld.begin(), 4); distance(ld.begin(), i);
output is
prog.exe: /opt/wandbox/range-v3/include/range/v3/view/linear_distribute.hpp:55: bool ranges::v3::view::linear_distribute_view<int>::equal(const linear_distribute_view<T> &) const [T = int]: Assertion `from_ == other.from_ && to_ == other.to_' failed.
https://wandbox.org/permlink/71k8ETkWzTkWrIW4
The text was updated successfully, but these errors were encountered:
linear_distribute_view: fix equal
10e56b8
The `from_` values are only equal if the `n_` values are. Fixes ericniebler#1088.
No branches or pull requests
The following code fails on an assertion and should fail to compile:
output is
https://wandbox.org/permlink/71k8ETkWzTkWrIW4
The text was updated successfully, but these errors were encountered: