Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: C++
Posted by: Jose Fernando Lopez Fernandez
Added: May 17, 2018 2:13 PM
Views: 4
  1. template <typename CharT, typename Traits = std::char_traits<CharT>>
  2. std::basic_ostream<CharT, Traits>&
  3. NL (std::basic_ostream<CharT, Traits>& outputStream)
  4. {
  5.         return outputStream << outputStream.widen('\n');
  6. }