我有一个C背景.我只是想知道为什么函数重载被添加到C++中?C没有函数重载但是C++没有,它需要什么?
当时语言设计师的想法是什么?
c c++ overloading
c ×1
c++ ×1
overloading ×1