Support Class Library
A set of tools providing classes and utility
nl.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <iostream>
4 
5 namespace scl{
6  namespace tools{
7  namespace iostream{
13  template <class Char, class Traits>
14  inline std::basic_ostream<Char, Traits>& nl(std::basic_ostream<Char, Traits>& os){
15  return os << '\n';
16  }
17  }
18  }
19 }
Global namespace of the SCL.
Definition: alias.hpp:3
std::basic_ostream< Char, Traits > & nl(std::basic_ostream< Char, Traits > &os)
An alternative for std::endl that actually does what you assumed std::endl was doing.
Definition: nl.h:14