Opened 7 days ago
Last modified 5 days ago
#15146 accepted enhancement
FN stlFindInsert with flipped condition
| Reported by: | chrchr | Owned by: | pfultz2 |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Improve check | Version: | |
| Keywords: | stlFindInsert | Cc: |
Description
void g(std::map<int, bool>& m) { if (0 == m.count(1)) m[1] = true; }
Note:
See TracTickets
for help on using tickets.