Closed Bug 1664844 Opened 5 years ago Closed 5 years ago

Add a DebugOnly<T>::inspect member function

Categories

(Core :: MFBT, task)

task

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: sg, Assigned: sg)

References

Details

Attachments

(1 file)

If T is a struct, then a DebugOnly<T>::inspect member function avoids doing an explicit static_cast to the value type to access its members.

Pushed by sgiesecke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ffed28f0b547 Add DebugOnly::inspect member function. r=jwalden
Pushed by sgiesecke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/25b16cbae152 Add DebugOnly::inspect member function. r=jwalden
Pushed by sgiesecke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f1815c07c36e Add DebugOnly::inspect member function. r=jwalden
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
Regressions: 1666245
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: