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

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)#

Read a line separated by ‘newline’ 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.

Returns:

Reference to the stream.