We can simplify the code with *Map::try_emplace where we need default-constructed values while avoding calling constructors when keys are already present.
62 KiB
62 KiB
We can simplify the code with *Map::try_emplace where we need default-constructed values while avoding calling constructors when keys are already present.