Skip to content

Files

Latest commit

 

History

History
11 lines (6 loc) · 317 Bytes

redundantIfRemove.md

File metadata and controls

11 lines (6 loc) · 317 Bytes

Pattern: Redundant STL container check

Issue: -

Description

Redundant checking of STL container element existence before removing it. It is safe to call the remove method on a non-existing element.

Further Reading