Summary
Team LiB
Previous Section Next Section

Summary

Learn to catch properly: Throw exceptions by value (not pointer) and catch them by reference (usually to const). This is the combination that meshes best with exception semantics. When rethrowing the same exception, prefer just throw; to throw e;.

    Team LiB
    Previous Section Next Section