function template · 4 overloads
std::getline
- Header
<string>- Draft
- [string.syn]
- Scope
std- cppreference
- std::getline
Overloads
- (1)
template<class charT, class traits, class Allocator> basic_istream<charT, traits>& getline( basic_istream<charT, traits>& is, basic_string<charT, traits, Allocator>& str); - (2)
template<class charT, class traits, class Allocator> basic_istream<charT, traits>& getline( basic_istream<charT, traits>&& is, basic_string<charT, traits, Allocator>& str); - (3)
template<class charT, class traits, class Allocator> basic_istream<charT, traits>& getline( basic_istream<charT, traits>& is, basic_string<charT, traits, Allocator>& str, charT delim); - (4)
template<class charT, class traits, class Allocator> basic_istream<charT, traits>& getline( basic_istream<charT, traits>&& is, basic_string<charT, traits, Allocator>& str, charT delim);