Closed Bug 1512155 Opened 2 years ago Closed 2 years ago
Introduce a movable type that combines mozilla::Unique
Ptr<T> and its length
47 bytes, text/x-phabricator-request
|Details | Review|
AFAICT, we don't have a type between mozilla::Array and mozilla::Vector in terms of length dynamism. The HTML parser could use a type that's like Span in terms of machine representation but that owns its pointee, so I'm proposing one for MFBT instead of adding a parser-only type.
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/5344a9d4ec9c Introduce a movable type that combines mozilla::UniquePtr<T> and its length. r=froydnj
You need to log in before you can comment on or make changes to this bug.