We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<ranges>
operator|(_Left&& __l, _Right&& __r)
decltype(auto)
STL/stl/inc/ranges
Lines 183 to 190 in bc5a5c3
IIUC, LWG-3981 being tagged as NAD means it's a bug in MSVC-STL, right?
The text was updated successfully, but these errors were encountered:
We talked about this at the weekly maintainer meeting and we agree that this is a bug - WG21-N4964 [range.adaptor.object]/1
For a range adaptor closure object C and an expression R such that decltype((R)) models range, the following expressions are equivalent: C(R) R | C
C
R
decltype((R))
range
C(R)
R | C
does indeed appear to clearly mandate that decltype(auto) is used here.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
STL/stl/inc/ranges
Lines 183 to 190 in bc5a5c3
IIUC, LWG-3981 being tagged as NAD means it's a bug in MSVC-STL, right?
The text was updated successfully, but these errors were encountered: