Summary
Team LiB
Previous Section Next Section

Summary

Switch off: Avoid switching on the type of an object to customize behavior. Use templates and virtual functions to let types (not their calling code) decide their behavior.

    Team LiB
    Previous Section Next Section