File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 5802
5802
constexpr V base() const& requires copy_constructible<V> { return @\exposid {base_}@; }
5803
5803
constexpr V base() && { return std::move(@\exposid {base_}@); }
5804
5804
5805
- constexpr auto size() requires sized_range<V> {
5806
- return ranges::size(@\exposid {base_}@);
5807
- }
5808
- constexpr auto size() const requires sized_range<const V> {
5809
- return ranges::size(@\exposid {base_}@);
5810
- }
5811
-
5812
5805
constexpr auto begin() {
5813
5806
if constexpr (random_access_range<V> && sized_range<V>)
5814
5807
return ranges::begin(@\exposid {base_}@);
5836
5829
else
5837
5830
return common_iterator<iterator_t<const V>, sentinel_t<const V>>(ranges::end(@\exposid {base_}@));
5838
5831
}
5832
+
5833
+ constexpr auto size() requires sized_range<V> {
5834
+ return ranges::size(@\exposid {base_}@);
5835
+ }
5836
+ constexpr auto size() const requires sized_range<const V> {
5837
+ return ranges::size(@\exposid {base_}@);
5838
+ }
5839
5839
};
5840
5840
5841
5841
template<class R>
You can’t perform that action at this time.
0 commit comments