(1) | template <class charT, class traits, class Alloc> basic_istream<charT,traits>& getline (basic_istream<charT,traits>& is, basic_string<charT,traits,Alloc>& str, charT delim); |
---|---|
(2) | template <class charT, class traits, class Alloc> basic_istream<charT,traits>& getline (basic_istream<charT,traits>& is, basic_string<charT,traits,Alloc>& str); |
(1) | template <class charT, class traits, class Alloc> basic_istream<charT,traits>& getline (basic_istream<charT,traits>& is, basic_string<charT,traits,Alloc>& str, charT delim);template <class charT, class traits, class Alloc> basic_istream<charT,traits>& getline (basic_istream<charT,traits>&& is, basic_string<charT,traits,Alloc>& str, charT delim); |
---|---|
(2) | template <class charT, class traits, class Alloc> basic_istream<charT,traits>& getline (basic_istream<charT,traits>& is, basic_string<charT,traits,Alloc>& str);template <class charT, class traits, class Alloc> basic_istream<charT,traits>& getline (basic_istream<charT,traits>&& is, basic_string<charT,traits,Alloc>& str); |
flag | error |
---|---|
eofbit | The end of the source of characters is reached during its operations. |
failbit | The input obtained could not be interpreted as a valid textual representation of an object of this type. In this case, distr preserves the parameters and internal data it had before the call. Notice that some eofbit cases will also set failbit. |
badbit | An error other than the above happened. |
|
|