This capability seemed like a good idea in C++,so operator overloading was added to C++ to allow the C++ programmer to add meanings to almost any operator.
英
美
- 在C++里,这一功能看起来非常不错,所以引入了一项“运算符过载”机制,以便C++程序员为几乎所有运算符增加特殊的含义。