摘要: 1.重载一元操作符To declare a unary operator function as a nonstatic member, you must declare it in the form:ret-typeoperatorop()where ret-type is the return type and op is one of the operators listed in the preceding table.To declare a unary operator function as a global function, you must declare it in th 阅读全文
posted @ 2012-11-05 11:55 avexer 阅读(315) 评论(0) 推荐(0) 编辑