Browse Source
This avoids a redundant std::string construction if a key doesn't exist in the map already. e.g. data[key] requires constructing a new default instance of the value in the map (but this is wasteful, since we're already setting something into the map over top of it).nce_cpp
1 changed files with 3 additions and 3 deletions
Loading…
Reference in new issue