Exceptions
Team LiB
Previous Section Next Section

Exceptions

Smart pointers can be overused. Raw pointers are fine in code where the pointed-to object is visible to only a restricted quantity of code (e.g., purely internal to a class, such as a tree class's internal node navigation pointers).

    Team LiB
    Previous Section Next Section