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+
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.