📅  最后修改于: 2022-03-11 14:44:54.764000             🧑  作者: Mango
代码示例1
std::ostream& operator<<(std::ostream& out, const Course& course)
{
out << course.getName(); // for example
return out;
}