Namespaces
Variants

std::getline

From cppreference.com
Revision as of 20:48, 1 July 2011 by Blindley (talk | contribs) (Created page with "{{cpp/title|getline}} {{cpp/string/getline/sidebar}} {{ddcl list begin}} {{ddcl list header | string}} {{ddcl list item | template<class charT, class traits, class Allocator> b...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:cpp/string/getline/sidebar Template:ddcl list begin

Defined in header <string>
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);
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);
template<class charT, class traits, class Allocator>
  basic_istream<charT,traits>&
    getline(basic_istream<charT,traits>& is,
            basic_string<charT,traits,Allocator>& str);
template<class charT, class traits, class Allocator>
  basic_istream<charT,traits>&
    getline(basic_istream<charT,traits>&& is,
            basic_string<charT,traits,Allocator>& str);

Template:ddcl list end Template:params

is - the stream to get data from
str - the string to put the data into
delim - the delimiter character

Template:returns is