Closed Bug 1648044 Opened 4 years ago Closed 4 years 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: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: