Skip to content

Commit 7d88653

Browse files
authored
[range.join.view] Remove duplicative condition (#4957)
This function is constrained on `is_reference_v<range_reference_t<const V>>` already, so checking it again in the `if constexpr` has no effect.
1 parent 91ab4b4 commit 7d88653

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

source/ranges.tex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5397,7 +5397,6 @@
53975397
requires @\libconcept{input_range}@<const V> &&
53985398
is_reference_v<range_reference_t<const V>> {
53995399
if constexpr (@\libconcept{forward_range}@<const V> &&
5400-
is_reference_v<range_reference_t<const V>> &&
54015400
@\libconcept{forward_range}@<range_reference_t<const V>> &&
54025401
@\libconcept{common_range}@<const V> &&
54035402
@\libconcept{common_range}@<range_reference_t<const V>>)

0 commit comments

Comments
 (0)