Closed Bug 1648044 Opened 3 months ago Closed 3 months ago

Add named comparison functions for Maybe<T&>

Categories

(Core :: MFBT, task)

task

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: sg, Assigned: sg)

Details

Attachments

(1 file)

While operator== is deliberately not defined for Maybe<T&> to avoid ambiguity, reference-equality comparison as a named operation would be convenient in many situations.

Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/39b8e73ee1f9
Add Maybe<T&>::refEquals methods. r=froydnj
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.