MCPcopy Create free account
hub / github.com/Kitware/VTK / remove_if

Function remove_if

Common/DataModel/vtkDataSetAttributesFieldList.cxx:279–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277
278template <typename Container, typename ForwardIt, typename UnaryPredicate>
279void remove_if(Container& cont, ForwardIt first, ForwardIt second, UnaryPredicate p)
280{
281 for (auto iter = first; iter != second;)
282 {
283 if (p(*iter))
284 {
285 iter = cont.erase(iter);
286 }
287 else
288 {
289 ++iter;
290 }
291 }
292}
293VTK_ABI_NAMESPACE_END
294} // namespace detail
295

Callers 15

MakeInformationVectorMethod · 0.85
fillVectorsFromVarsFunction · 0.85
getElementTypeFromStringFunction · 0.85
IsSectionHeaderMethod · 0.85
RemoveMapperMethod · 0.85
put_infoFunction · 0.85
output_tableFunction · 0.85
get_subcommandsMethod · 0.85
get_optionsMethod · 0.85
RemoveSpacesFromFunction · 0.85

Calls 1

eraseMethod · 0.45

Tested by

no test coverage detected