Skip to content
Snippets Groups Projects
Commit 91429382 authored by Hans Johnson's avatar Hans Johnson
Browse files

PERF: emplace_back method results in potentially more efficient code

The check flags insertions to an STL-style container done by calling the
push_back method with an explicitly-constructed temporary of the container
element type. In this case, the corresponding emplace_back method results in
less verbose and potentially more efficient code.
parent 6d20e7c9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment