正在加载图片...
Syntax The number of arguments depends on two factors: 1.Whether it's a unary operator (one argument)or a binary operator (two arguments). 2.Whether the operator is defined as a global function (one argument for unary,two for binary)or a member function (zero arguments for unary,one for binary-the object becomes the left-hand argument). 2017年4月26日12时 H05务 第10章运算符重载 5 BACK NEXTHOME • The number of arguments depends on two factors: • 1. Whether it’s a unary operator (one argument) or a binary operator (two arguments). • 2. Whether the operator is defined as a global function (one argument for unary, two for binary) or a member function (zero arguments for unary, one for binary – the object becomes the left-hand argument). 2017年4月26日12时 15分 第10章 运算符重载 5
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有