libycxx

function template · 4 overloads

std::getline

Header
<string>
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);
    (1)
  2. template<class charT, class traits, class Allocator>
    basic_istream<charT, traits>& getline(
        basic_istream<charT, traits>&& is,
        basic_string<charT, traits, Allocator>& str);
    (2)
  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);
    (3)
  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);
    (4)