19 #ifndef SBUILD_NOSTREAM_H
20 #define SBUILD_NOSTREAM_H
32 template <
class cT,
class traits = std::
char_traits<cT> >
33 class basic_nbuf:
public std::basic_streambuf<cT, traits>
41 typename traits::int_type
44 return traits::not_eof(c);
52 template <
class cT,
class traits = std::
char_traits<cT> >
58 std::basic_ios<cT, traits>(&
nbuf),
59 std::basic_ostream<cT, traits>(&
nbuf)