Glossary: System Design Beyond the Basics in C++
emplace
Also written: std::unordered_map::emplace
A C++ map method that inserts an entry only if the key is new, and returns the entry plus a `bool` saying whether it was inserted. It works as an "insert or ignore", so a retried order with the same ID is stored only once.