List Question
20 TechQA 2023-09-11T12:18:06.363000Different result from std::vector erase when comparing in if than comparing to stored value
75 views
Asked by mattsson
std::remove doesn't behave as expected
183 views
Asked by kry23
Why is my C++ string erase-remove-idiom implementation causing an infinite loop with conditional statements?
65 views
Asked by Pradeep Bansiwal
Why is 'resize-remove' faster than 'erase-remove' on vectors?
283 views
Asked by rhanqtl
std::erase does not return an error when std::remove_if is used inappropriately in the erase-remove idiom
118 views
Asked by Gaurav Dhir
Possible Logic Error: remove(vector.begin(),vector.end(),val)
86 views
Asked by That_Coder
Trying to remove all non alpha characters from a string using C++ what's the best way to do that given the code that I have?
476 views
Asked by Nicholas Davies
C++, fast removal of elements from vector by binary index
87 views
Asked by justik
Delete the selected item in forward_list C++
250 views
Asked by arnold
Crash when using erase–remove idiom
133 views
Asked by black_gay
Removing duplicates from an vector is giving unexpected results
73 views
Asked by Magnus Eriksson
(Beginner) Don't know why code doesn't give correct output
123 views
Asked by rookieProgrammer
function that remove an integer from an array using pointer in C
411 views
Asked by AudioBubble
Is erasing a range more efficient than erasing each of the elements separately?
295 views
Asked by alexander.sivak
Issues with pointers in c++ erase/remove algorithm
139 views
Asked by hamster1230
Erase remove idiom on a std::string with non-printable characters throws exception
202 views
Asked by ark1974
Why std::erase and std::erase_if don't support projection?
458 views
Asked by NoSenseEtAl
Removing elements marked for removal with Ranges-V3
885 views
Asked by Krupip
Why this program works? itrator does not invalidate after erase
80 views
Asked by meivinay