首页> 中文期刊> 《价值工程》 >C++运算符重载剖析

C++运算符重载剖析

         

摘要

Overloading is one of the important mechanisms in object oriented programming, it can improve the readability of the program to achieve polymorphism. There are two kinds of overloading in C++ language:function overloading and operator overloading. In fact, operator overloading is overloaded functions. This paper mainly discusses the rules, mechanisms and forms of operator overloading in C++.%重载是面向对象程序设计中的一种重要机制,可以提高程序可读性,实现多态性。C++语言中有两种重载:函数重载和运算符重载。运算符重载实质就是函数重载。本文主要讨论的是C++中运算符重载的规则、机制以及形式。

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号