Closed Bug 565461 Opened 14 years ago Closed 14 years ago

Implement nsTArray::operator==

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: cjones, Assigned: cjones)

References

Details

Attachments

(1 file)

It should behave like std::vector::operator==, that is returns true iff a, b have the same length and all elements are ==.
Assignee: nobody → jones.chris.g
Attachment #445022 - Flags: review?(benjamin)
Attachment #445022 - Flags: review?(benjamin) → review+
Comment on attachment 445022 [details] [diff] [review]
Implement nsTArray::operator==

r=me, but don't check this in without adding a few tests in TestTArray.cpp
Pushed with tests (that are non-libxul-only?  Cost me a few clobbers.)

http://hg.mozilla.org/mozilla-central/rev/a266a1dcdf50
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: