// a small C++ program#include int main(){ std::cout << "Hello, world!" << std::endl; std::operator<<(std::cout, "Hello, world!"); // friend cout是模板类的实例 std::cout.operator<<(std::endl); // member endl是函数模板指针 std::operator<<(std::cout, "Hello,