<xstring>
: Remove spurious operator>>(basic_istream&&, basic_string&)
#2052
Labels
<xstring>
: Remove spurious operator>>(basic_istream&&, basic_string&)
#2052
Noticed by @cpplearner in #2025 (comment).
The issue is that
<xstring>
defines anoperator>>(basic_istream&&, basic_string&)
which doesn't appear in the Standard:STL/stl/inc/xstring
Lines 4989 to 4991 in e745bad
We should (1) remove this overload and (2) move its guts to
operator>>(basic_istream&, basic_string&)
which appears in the Standard at WG21-N4892 21.3.4.4 [string.io]/1:STL/stl/inc/xstring
Lines 5038 to 5042 in e745bad
Rvalue stream extraction should continue to work (i.e. with no test changes necessary) due to our implementation of 29.7.4.6 [istream.rvalue]
operator>>(Istream&&, T&&)
:STL/stl/inc/istream
Lines 886 to 891 in e745bad
The text was updated successfully, but these errors were encountered: