[#bsl-slist-remove_if]
= xref:bsl.adoc[bsl]::xref:bsl/slist.adoc[slist]::remove&lowbar;if
:relfileprefix: ../../
:mrdocs:

Erase every element for which `&lowbar;&lowbar;pred` returns `true`&period;

== Synopsis

Declared in `&lt;bslstp&lowbar;slist&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class &lowbar;Predicate&gt;
void
remove&lowbar;if(&lowbar;Predicate &lowbar;&lowbar;pred);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
