Closed Bug 1602105 Opened 6 years ago Closed 6 years ago

Default argument of Span is not mentioned at definition site

Categories

(Core :: MFBT, enhancement)

enhancement
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: manishearth, Assigned: manishearth)

Details

Attachments

(1 file)

Span<T> is defined with a size_t Extent template parameter here. There is no indication that Extent has a default value, which is declared further up the file. This should be mentioned in a comment.

MozReview-Commit-ID: 5h8zGik856o

Pushed by pjiang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/137af8e6792d Mention default value of Span<T, Extent>'s extent; r=perry
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: