It defines one member operator and has three nonmember operators.
它定义了一个成员操作符,并且有三个非成员操作符。
One final improvement I want to make on this dynamic class is to use member variables to access the fields, instead of the clunky get_ and set_ operators.
对这个动态类我想做的最后一个改进,是用成员变量访问字段,而不是用笨重的get _和set _操作符。
Unlike most other operators, the right operand of the dot (". ") operator is not an object or value; it is the name of a member.
与大多数其他操作符不同,点操作符(“。”)的右操作数不是对象或值,而是成员的名字。
应用推荐