effective c++
Item-33 Avoid hiding inherited names
· β˜• 5 min read

Names in derived classes hide names in base classes, which is not desirable in public inheritance. To fix it, employ using declarations or forwarding functions to make hidden names visible again.


Item-30 Understand ins and outs of inlining
· β˜• 7 min read

Limit most inlining to small, frequently called functions to facilitate debugging and binary upgradability, minimize potential code bloat, and maximize the chances of greater program speed.


Item-29 Strive for exception-safe code
· β˜• 8 min read

Exception-safe functions leak no resources and allow no data structures to become corrupted, even when exceptions are thrown. Such functions offer the basic, strong, and nothrow guarantees.