Closed
Bug 1613363
Opened 5 years ago
Closed 5 years ago
Maybe<T> should preserve trivial copy-constructability and destructability of T
Categories
(Core :: MFBT, task)
Core
MFBT
Tracking
()
RESOLVED
FIXED
mozilla76
| Tracking | Status | |
|---|---|---|
| firefox76 | --- | fixed |
People
(Reporter: sg, Assigned: sg)
References
Details
Attachments
(1 file)
| Assignee | ||
Comment 1•5 years ago
|
||
This should include preserving trivial-copyability as well. Currently, e.g. passing a Maybe<int64_t> triggers a clang-tidy warning, which is not meaningful:
Warning: The const qualified parameter 'aNewVersion' is copied for each invocation; consider making it a reference [clang-tidy: performance-unnecessary-value-param]
| Assignee | ||
Updated•5 years ago
|
Summary: Maybe<T> should preserve trivial constructability and destructability of T → Maybe<T> should preserve trivial copy-constructability and destructability of T
| Assignee | ||
Comment 2•5 years ago
|
||
Depends on D68172
Updated•5 years ago
|
Assignee: nobody → sgiesecke
Status: NEW → ASSIGNED
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ec923b3c5f45
Maybe<T> should preserve trivial copy-constructability and destructability of T. r=froydnj
Comment 4•5 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox76:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in
before you can comment on or make changes to this bug.
Description
•