Reads characters from a stream into a string until a delimiter.
Declared in <folly/FBString.h>
istream_type&
getline(
istream_type& is,
basic_fbstring& str,
value_type delim);
This function is a hidden friend of basic_fbstring, declared only inside that class: it can be found only through argument-dependent lookup.
A reference to the input stream.
| Name | Description |
|---|---|
| is | The input stream to read from. |
| str | The string to store the read characters. |
| delim | The delimiter character that stops reading. |