File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 8427
8427
8428
8428
constexpr auto end() {
8429
8429
if constexpr (@\libconcept{random_access_range}@<V> && @\libconcept{sized_range}@<V>)
8430
- return ranges::begin(@\exposid{base_}@) + ranges::size (@\exposid{base_}@);
8430
+ return ranges::begin(@\exposid{base_}@) + ranges::distance (@\exposid{base_}@);
8431
8431
else
8432
8432
return common_iterator<iterator_t<V>, sentinel_t<V>>(ranges::end(@\exposid{base_}@));
8433
8433
}
8434
8434
8435
8435
constexpr auto end() const requires @\libconcept{range}@<const V> {
8436
8436
if constexpr (@\libconcept{random_access_range}@<const V> && @\libconcept{sized_range}@<const V>)
8437
- return ranges::begin(@\exposid{base_}@) + ranges::size (@\exposid{base_}@);
8437
+ return ranges::begin(@\exposid{base_}@) + ranges::distance (@\exposid{base_}@);
8438
8438
else
8439
8439
return common_iterator<iterator_t<const V>, sentinel_t<const V>>(ranges::end(@\exposid{base_}@));
8440
8440
}
You can’t perform that action at this time.
0 commit comments