Extract characters into buffer until delimiter.

Synopsis

Declared in <bslstl_istringstream.h>

BaseStream&
getline(
    char_type* buffer,
    std::streamsize count,
    char_type delimiter);

Return Value

a reference to this stream

Parameters

Name

Description

buffer

destination character array

count

maximum number of characters to store

delimiter

character that stops extraction

Created with MrDocs