52 #ifndef HAVOQGT_DETAIL_NULL_OSTREAM_HPP_INCLUDED
53 #define HAVOQGT_DETAIL_NULL_OSTREAM_HPP_INCLUDED
61 namespace havoqgt {
namespace detail {
63 template <
class cT,
class traits = std::
char_traits<cT> >
65 typename traits::int_type
overflow(
typename traits::int_type c)
67 return traits::not_eof(c);
71 template <
class cT,
class traits = std::
char_traits<cT> >
75 std::basic_ios<cT, traits>(&
m_sbuf),
76 std::basic_ostream<cT, traits>(&
m_sbuf)
96 #endif //HAVOQGT_DETAIL_NULL_OSTREAM_HPP_INCLUDED
std::ostream & get_null_ostream()
basic_nullbuf< cT, traits > m_sbuf
traits::int_type overflow(typename traits::int_type c)