Operator Overload

来源:互联网 发布:mac 开发必备软件 编辑:程序博客网 时间:2024/05/17 05:03

重载->,*和&的例子:

 

 

打印结果:

 

Adele.L, LTE concepts, Brooks Cols, Beijing, 0, 2015
Opal.M, Linux kernel, Prentice Hall, City?, 1, 2016