ostream(3)
β¨ ostream(3) β¨
okay so we're in the Library Functions Manual, and this is the ostream(3) page β aka the C++ output stream moment. It's giving "all your << energy lives here," and we're gonna walk through it together. π
π NAME π
ostream -
(and that's literally the whole name entry, bestie. no extra description. minimal. iconic. π)
π SYNOPSIS π
π§ Classes π§
class std::basic_ostream< _CharT, _Traits >β Controlling output.
This is the base class for all output streams. It provides text formatting of all builtin types, and communicates with any class derived from basic_streambuf to do the actual output. "
yes bestie, that trailing " is in the source text. we preserve it. no cap. π
class std::basic_ostream< _CharT, _Traits >::basic_ostream::sentryβ Performs setup work for output streams.
πΈ Namespaces πΈ
namespace std
π Defines π
#define _GLIBCXX_OSTREAM
π₯ Functions π₯
okay here's the full function roster, and I'm keeping every signature character-for-character because we do not mess with C++ templates in this house:
template<typename _CharT , typename _Traits > basic_ostream< _CharT, _Traits > & std::endl (basic_ostream< _CharT, _Traits > &__os)
template<typename _CharT , typename _Traits > basic_ostream< _CharT, _Traits > & std::ends (basic_ostream< _CharT, _Traits > &__os)
template<typename _CharT , typename _Traits > basic_ostream< _CharT, _Traits > & std::flush (basic_ostream< _CharT, _Traits > &__os)
template<class _Traits > basic_ostream< char, _Traits > & std::operator<< (basic_ostream< char, _Traits > &__out, const unsigned char *__s)
template<class _Traits > basic_ostream< char, _Traits > & std::operator<< (basic_ostream< char, _Traits > &__out, const signed char *__s)
template<class _Traits > basic_ostream< char, _Traits > & std::operator<< (basic_ostream< char, _Traits > &__out, const char *__s)
template<typename _CharT , typename _Traits > basic_ostream< _CharT, _Traits > & std::operator<< (basic_ostream< _CharT, _Traits > &__out, const char *__s)
template<typename _CharT , typename _Traits > basic_ostream< _CharT, _Traits > & std::operator<< (basic_ostream< _CharT, _Traits > &__out, const _CharT *__s)
template<class _Traits > basic_ostream< char, _Traits > & std::operator<< (basic_ostream< char, _Traits > &__out, unsigned char __c)
template<class _Traits > basic_ostream< char, _Traits > & std::operator<< (basic_ostream< char, _Traits > &__out, signed char __c)
template<class _Traits > basic_ostream< char, _Traits > & std::operator<< (basic_ostream< char, _Traits > &__out, char __c)
template<typename _CharT , typename _Traits > basic_ostream< _CharT, _Traits > & std::operator<< (basic_ostream< _CharT, _Traits > &__out, char __c)
template<typename _CharT , typename _Traits > basic_ostream< _CharT, _Traits > & std::operator<< (basic_ostream< _CharT, _Traits > &__out, _CharT __c)
π¦ Detailed Description π¦
This is a Standard C++ Library header.
Definition in file ostream.
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
π
later, bestie β this glow-up of ostream(3) came from libstdc++, dated 21 Apr 2009. periodt. π
π¦ where this page comes from
- nixpkgs unstable: std-man-pages 4.4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms