class PendingDialog {
using Map = std:map<SomeID, raw_ptr<DialogImpl>>;
Map map_;
DialogImpl* Find(SomeID id) {
// *** Indirectly using raw_ptr<> here.
Map::const_iterator it = map_.find(id);
if (it == map_.end())
return nullptr;
return it->second;
}
}
--
You received this message because you are subscribed to the Google Groups "memory-safety-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to memory-safety-...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/memory-safety-dev/CACqyNVAs0fxLHS39MU5ZzdDCPu4xHJJB16%2BGuEC39ho8vB89qA%40mail.gmail.com.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.