Template Function sdv::getline(std::basic_istream<TCharType, std::char_traits<TCharType>>&, string_base<TCharType, bUnicode, nFixedSize>&, TCharType)#

Function Documentation#

template<typename TCharType, bool bUnicode, size_t nFixedSize>
std::basic_istream<TCharType, std::char_traits<TCharType>> &sdv::getline(std::basic_istream<TCharType, std::char_traits<TCharType>> &rstream, string_base<TCharType, bUnicode, nFixedSize> &rss, TCharType cDelim)#

Read a line from the stream.

Template Parameters:
  • TCharType – The character type to use for the strings.

  • bUnicode – When set, the string is a unicode string.

  • nFixedSize – Fixed size of the string.

Parameters:
  • rstream[in] Reference to the stream.

  • rss[in] Reference to the string.

  • cDelim[in] Delimiter to separate lines.

Returns:

Reference to the stream.