* include/bits/basic_string.h (getline): Declare inline.
From-SVN: r213873
This commit is contained in:
parent
2e45addf83
commit
caff45a635
2 changed files with 3 additions and 1 deletions
|
@ -7,6 +7,8 @@
|
|||
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/12.cc:
|
||||
New.
|
||||
|
||||
* include/bits/basic_string.h (getline): Declare inline.
|
||||
|
||||
2014-08-09 Ulrich Drepper <drepper@gmail.com>
|
||||
|
||||
* include/ext/random.tcc (uniform_on_sphere_helper): Define.
|
||||
|
|
|
@ -2816,7 +2816,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
|||
#if __cplusplus >= 201103L
|
||||
/// Read a line from an rvalue stream into a string.
|
||||
template<typename _CharT, typename _Traits, typename _Alloc>
|
||||
basic_istream<_CharT, _Traits>&
|
||||
inline basic_istream<_CharT, _Traits>&
|
||||
getline(basic_istream<_CharT, _Traits>&& __is,
|
||||
basic_string<_CharT, _Traits, _Alloc>& __str, _CharT __delim)
|
||||
{ return std::getline(__is, __str, __delim); }
|
||||
|
|
Loading…
Add table
Reference in a new issue