| 966 | } |
| 967 | |
| 968 | void UnsafePut(Value key, Value value) override { |
| 969 | auto insertion = map_->insert({std::move(key), std::move(value)}); |
| 970 | ABSL_DCHECK(insertion.second); |
| 971 | if (entries_trivially_destructible_) { |
| 972 | entries_trivially_destructible_ = |
| 973 | ArenaTraits<>::trivially_destructible(insertion.first->first) && |
| 974 | ArenaTraits<>::trivially_destructible(insertion.first->second); |
| 975 | } |
| 976 | } |
| 977 | |
| 978 | size_t Size() const override { return map_->size(); } |
| 979 |