operator · 20 overloads
std::basic_ostream::operator<<
- Draft
- [ostream.general]
- Scope
std::basic_ostream- cppreference
- std::basic_ostream::operator<<
Left shift operators
Overloads
- (1)
basic_ostream& operator<<(long long n); - (2)
basic_ostream<charT, traits>& operator<<(basic_streambuf<char_type, traits>* sb); - (3)
basic_ostream& operator<<(nullptr_t rhs); - (4)
basic_ostream& operator<<(const volatile void* p); - (5)
basic_ostream& operator<<(const void* p); - (6)
template<class F> requires is-extended-floating-point<F> && fp-rank-le<F, long double> basic_ostream& operator<<(F f); - (7)
basic_ostream& operator<<(long double f); - (8)
basic_ostream& operator<<(double f); - (9)
basic_ostream& operator<<(float f); - (10)
basic_ostream& operator<<(unsigned long long n); - (11)
basic_ostream& operator<<(basic_ostream&(* pf)(basic_ostream&)); - (12)
basic_ostream& operator<<(unsigned long n); - (13)
basic_ostream& operator<<(long n); - (14)
basic_ostream& operator<<(unsigned int n); - (15)
basic_ostream& operator<<(int n); - (16)
basic_ostream& operator<<(unsigned short n); - (17)
basic_ostream& operator<<(short n); - (18)
basic_ostream& operator<<(bool n); - (19)
basic_ostream& operator<<(ios_base&(* pf)(ios_base&)); - (20)
basic_ostream& operator<<(basic_ios<charT, traits>&(* pf)(basic_ios<charT, traits>&));