摘要
对C++中运算符重载进行了分析,阐述了运算符重载的概念,使用实例介绍了两种运算符重载的方法,并对运算符重载的应用规则和注意事项进行了探讨。
On the C + +,operator overloading is analyzed to explain the concept of operator overloading,using examples describes two methods operator overloading,operator overloading and the application of the rules and precautions are discussed.
关键词
运算符
函数重载
应用
Pperator Function overloading Applications