In a real-world application this operation would support more complex modifications, including addition and deletion of order lines in the order.
在实际的应用程序中,此操作应支持更复杂的修改,其中包括添加或删除订单中的订单行。
2
There are many examples covering the range from simple (addition/subtraction overloading) to the complex (overloading numeric constants and run-time overloading).
本书中有大量的例子,从简单(加减操作符的重载)到复杂(重载数值常量以及运行时间等)一应俱全。
3
In addition to promoting code reuse, it can also break complex transforms into chunks that are easy to understand.