Browse Source
We can use emplace_back to construct the Display instances directly, instead of constructing them separately and copying them, avoiding the need to copy std::string and std::vector instances that are part of the Display struct.nce_cpp
1 changed files with 4 additions and 9 deletions
Loading…
Reference in new issue