Standard C++ Library Reference ISO/IEC (VERSION3)
basic_ostream<char, Tr>&
operator<<(basic_ostream<char, Tr>& ostr,
signed char ch);
template<class Tr>
basic_ostream<char, Tr>&
operator<<(basic_ostream<char, Tr>& ostr,
const unsigned char *str);
template<class Tr>
basic_ostream<char, Tr>&
operator<<(basic_ostream<char, Tr>& ostr,
unsigned char ch);
// MANIPULATORS
template class<Elem, Tr>
basic_ostream<Elem, Tr>&
endl(basic_ostream<Elem, Tr>& ostr);
template class<Elem, Tr>
basic_ostream<Elem, Tr>&
ends(basic_ostream<Elem, Tr>& ostr);
template class<Elem, Tr>
basic_ostream<Elem, Tr>&
flush(basic_ostream<Elem, Tr>& ostr);
};
Include the iostreams standard header <ostream> to define template class basic_ostream,
which mediates insertions for the iostreams. The header also defines several related manipulators.
(This header is typically included for you by another of the iostreams headers. You seldom have
occasion to include it directly.)
basic_ostream
basic_ostream · flush · operator<< · put · seekp · sentry · tellp
· write
template <class Elem, class Tr = char_traits<Elem> >
class basic_ostream
: virtual public basic_ios<Elem, Tr> {
public:
typedef typename basic_ios<Elem, Tr>::char_type char_type;
typedef typename basic_ios<Elem, Tr>::traits_type traits_type;
typedef typename basic_ios<Elem, Tr>::int_type int_type;
typedef typename basic_ios<Elem, Tr>::pos_type pos_type;
typedef typename basic_ios<Elem, Tr>::off_type off_type;