已读69%
预计阅读本页时间:-
预计阅读本页时间:-
Test Your Knowledge: Quiz
- What two operator overloading methods can you use to support iteration in your classes?
- What two operator overloading methods handle printing, and in what contexts?
- How can you intercept slice operations in a class?
- How can you catch in-place addition in a class?
- When should you provide operator overloading?