Timeline for "Sweep" a vector of pointers
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 23, 2017 at 12:40 | history | edited | CommunityBot | replaced http://stackoverflow.com/ with https://stackoverflow.com/ | |
| May 14, 2015 at 20:50 | comment | added | Wolf | Accepted. The remove_if "idiom" reads a bit strange, but the upvotes speak a clear language: I should switch to it. | |
| May 14, 2015 at 20:44 | vote | accept | Wolf | ||
| May 13, 2015 at 13:12 | comment | added | Wolf | @Neil Yes, remove_if is O(N). I'm now elaborating a pack_vector_of_pointers template function having problems with deducing the predicate parameter type... | |
| May 13, 2015 at 12:57 | comment | added | Neil | @Wolf It's easy to forget that even if you don't see it being done, that doesn't mean that it is an operation that is O(1). | |
| May 13, 2015 at 10:29 | comment | added | Wolf | Great: just what I was looking for. Seems I've to learn more about standard algorithms. Thanks a lot :-) | |
| May 13, 2015 at 10:11 | history | answered | Pete Kirkham | CC BY-SA 3.0 |