Exceptions
Team LiB
Previous Section Next Section

Exceptions

Swapping is valuable for classes with value semantics. It is less often useful for base classes because you use those classes through pointers anyway. (See Items 32 and 54.)

    Team LiB
    Previous Section Next Section