15 #ifndef ARSENALGEAR_STREAM_HPP
16 #define ARSENALGEAR_STREAM_HPP
44 savebuf( std::streambuf* sbuf );
45 std::string
str()
const;
52 int overflow(
int c );
75 static std::basic_ostream<T> &
cout;
91 static std::basic_istream<T> &
cin;
Class used to store the output sent to an output stream.
Definition: stream.hpp:38
savebuf(std::streambuf *sbuf)
Construct a new savebuf object.
Definition: stream.cpp:33
std::string str() const
Method to return the string stored by the output stream.
Definition: stream.cpp:43
Definition: stream.cpp:22
Struct used to define a way to template the choice of the "std::cin" object in order to be "std::cin"...
Definition: stream.hpp:90
static std::basic_istream< T > & cin
Definition: stream.hpp:91
Struct used to define a way to template the choice of the "std::cout" object in order to be "std::cou...
Definition: stream.hpp:74
static std::basic_ostream< T > & cout
Definition: stream.hpp:75