Skip to content

Commit

Permalink
Update arbor/util/range.hpp
Browse files Browse the repository at this point in the history
Co-authored-by: boeschf <[email protected]>
  • Loading branch information
thorstenhater and boeschf authored Oct 18, 2024
1 parent eb4c56e commit ddb6002
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arbor/util/range.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ range<T, T> range_n(T t, size_t n) {
template <typename Seq>
auto canonical_view(Seq&& s) {
using std::begin;
using std::end;
auto b = begin(s);
auto e = end(s);
return make_range(make_sentinel_iterator(b, e), make_sentinel_end(b, e));
Expand Down

0 comments on commit ddb6002

Please sign in to comment.