| 1293 | |
| 1294 | private: |
| 1295 | const CompatListValue* absl_nonnull ProjectKeys() const { |
| 1296 | absl::call_once(keys_once_, [this]() { |
| 1297 | ListValueBuilderImpl builder(map_.get_allocator().arena()); |
| 1298 | builder.Reserve(map_.size()); |
| 1299 | |
| 1300 | for (const auto& entry : map_) { |
| 1301 | builder.UnsafeAdd(entry.first); |
| 1302 | } |
| 1303 | |
| 1304 | std::move(builder).BuildCompatAt(&keys_[0]); |
| 1305 | }); |
| 1306 | return std::launder( |
| 1307 | reinterpret_cast<const CompatListValueImpl*>(&keys_[0])); |
| 1308 | } |
| 1309 | |
| 1310 | mutable ValueFlatHashMap map_; |
| 1311 | mutable bool entries_trivially_destructible_ = true; |
nothing calls this directly
no test coverage detected