4 ms·
"<<"'s meaning in C++ is never "write to standard output". That is the output streams overloading the operator for their own operations. Similarly, you can writ
by leduyquang753 5y ago
"<<"'s meaning in C++ is never "write to standard output". That is the output streams overloading the operator for their own operations. Similarly, you can write operator<< for your classes to mean whatever. The original meaning of "<<" has always been left shift.
- esrauch 5y agoI'm not sure what you mean; standard library is part of C++ and it overloaded the meaning in that way. iostream "is C++".