Top "Remove-if" questions

Common Lisp 'remove-if' function.

std::remove_if - lambda, not removing anything from the collection

Ok, I expect I've made a dumb mistake here. I have a list of DisplayDevice3d and each DisplayDevice3d …

c++ c++11 lambda remove-if erase-remove-idiom
Replace/Remove characters that do not match the Regular Expression (.NET)

I have a regular expression to validate a string. But now I want to remove all the characters that do …

c# regex replace remove-if
Remove object from has_many but don't delete the original record in Rails?

I have this: Post.paragraphs << new_paragraph And I need to remove paragraph by id = 3, so the following …

ruby-on-rails activerecord collections remove-if
C++ Operator () parenthesis overloading

I recently asked a question about removing items from a vector. Well, the solution I got works, but I don't …

c++ operator-overloading remove-if
How to check if element has HTML in it before removing? jQuery

in a function I need to check if a (div, span, p) contains any .html elements in it before attempting …

javascript jquery html remove-if
Remove Elements from an Unordered Map Fulfilling a Predicate

I want to remove elements (histogram bins) from an std::unordered_map (histogram) that fulfills a predictate (histogram bins having …

c++ unordered-map remove-if
g++ string remove_if error

Here's the code: #include <iostream> #include <string> #include <algorithm> using namespace std; int main() { …

c++ string visual-studio-2010 g++ remove-if
Pass additional arguments to remove_if

I would like to remove elements from a vector using remove_if function but limiting the erasing to N elements. …

c++ vector remove-if
What is the graceful way to remove an element from C# ArrayList in a loop?

I'm quite happy with Java's ArrayList<String> list = new ArrayList<>(); Iterator<SignalEvent> it = list.…

c# loops arraylist iterator remove-if
Why can't I remove a string from a std::set with std::remove_if?

Possible Duplicate: remove_if equivalent for std::map I have a set of strings: set <wstring> strings; // ... I …

c++ algorithm set remove-if