<ranges>
: repeat_view
's deduction guide doesn't handle 1 argument
#3576
Labels
LWG issue needed
A wording defect that should be submitted to LWG as a new issue
ranges
C++20/23 ranges
resolved
Successfully resolved without a commit
Found by @davidhunter22, analyzed by me, suggested fix by @CaseyCarter. We need to file an LWG issue with this proposed resolution.
WG21-N4928 [range.repeat.view] depicts
repeat_view
's constructors:and a deduction guide:
This doesn't provide a deduction guide for 1 argument, even though the constructors can handle that.
Casey's suggested fix, slightly modified by me to match the Standardese instead of our implementation:
Full test case:
The text was updated successfully, but these errors were encountered: