What are the benefits of operator overloading?, C++ FAQ

What are the benefits of operator overloading?, C++ FAQ

瀏覽:1096
日期:2025-06-18
By overloading standard operators on a class, you can exploit the intuition of the users of that class. This lets users program in the language of the problem domain rather than in the language of the machine. The ultimate goal is to reduce both the learn...看更多