Open Bug 1374064 Opened 7 years ago Updated 2 years ago

Consider adding operator* to Lookup()/LookupForAdd() result types

Categories

(Core :: XPCOM, enhancement, P4)

enhancement

Tracking

()

People

(Reporter: MatsPalmgren_bugz, Unassigned)

References

Details

(In reply to Nathan Froyd [:froydnj] from bug 1372317 comment #4) > > + MOZ_MUST_USE DataType& Data() > > I know other APIs (e.g. js::HashTable) would use operator* here instead of > an explicitly named function. WDYT about doing that instead?

As part of Bug 1691913, operator*/operator-> will be added to LookupResult.

LookupForAdd no longer exists.

See Also: → 1691913
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.