WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
8734
Would like a Vector::append that takes another Vector
https://bugs.webkit.org/show_bug.cgi?id=8734
Summary
Would like a Vector::append that takes another Vector
Anders Carlsson
Reported
2006-05-04 11:02:59 PDT
The xpath implementation uses a lot of Vectors for keeping track of node sets. It'd be nice to have an append function that takes another Vector as this it's something that's done commonly in the xpath code
Attachments
Implement function
(1.47 KB, patch)
2006-05-04 11:07 PDT
,
Anders Carlsson
mjs
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Anders Carlsson
Comment 1
2006-05-04 11:07:03 PDT
Created
attachment 8107
[details]
Implement function This function works for me, but I'm not sure how correct it is. It doesn't support appending the vector to itself, but I don't know if we need that
Maciej Stachowiak
Comment 2
2006-05-04 13:17:19 PDT
Comment on
attachment 8107
[details]
Implement function Looks good to me. A more general version that takes start and end iterator might also be handy (and could be used to implement this one.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug