Browse Source
We can make use of emplace()'s return value to determine whether or not we need to perform an increment. emplace() performs no insertion if an element already exist, so this can eliminate a find() call.nce_cpp
1 changed files with 3 additions and 6 deletions
Loading…
Reference in new issue