On 12/08/14 16:20 +0100, Jonathan Wakely wrote:
We're missing these overloads required by C++11.
Tested x86_64-linux, committed to trunk.
I think this should go on the branches too, any objections?
Committed to the 4.9 branch.
am<_CharT, _Traits>&
getline(basic_istream<_CharT, _Traits>&& __is,
basic_string<_CharT, _Traits, _Alloc>& __str, _CharT __delim)
{ return std::getline(__is, __str, __delim); }
p;
getline(basic_istream<_CharT, _Traits>& __is,
basic_string<_CharT, _Traits, _Alloc>& __str)
-{ return getline(__is, __str, __is.widen('\n')); }
+{ return std::getline(__is, __str, __is.widen('\n')); }
+
+#if __cplusplus >= 201103L
+ /// Re
On 15 May 2013 09:23, Jonathan Wakely wrote:
> On 15 May 2013 08:50, Jonathan Wakely wrote:
>> Yes, it's wrong. I think the comment was copied from operator>> and
>> not corrected. I'll fix it, thanks for reporting it.
>
> * include/bits/basic_string.h (getline): Fix doxygen comments.
>
>
On 15 May 2013 08:50, Jonathan Wakely wrote:
> On 15 May 2013 06:57, ntysdd wrote:
>> Hi,
>>
>> I found this in the file `include\bits\basic_string.h':
>> /**
>> * @brief Read a line from stream into a string.
>> * @param __is Input stream.
>> * @param __str Buffer to store into.
>> * @return Refer