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.