We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ed48ae commit ba5e36fCopy full SHA for ba5e36f
source/containers.tex
@@ -7785,7 +7785,7 @@
7785
\begin{itemdescr}
7786
\pnum
7787
\effects
7788
-Equivalent to: \tcode{return erase_if(c, [\&](auto\& elem) \{ return elem == value; \});}
+Equivalent to: \tcode{return erase_if(c, [\&](const auto\& elem) -> bool \{ return elem == value; \});}
7789
\end{itemdescr}
7790
7791
\indexlibrarymember{erase_if}{forward_list}%
@@ -8570,7 +8570,7 @@
8570
8571
8572
8573
8574
8575
8576
\indexlibrarymember{erase_if}{list}%
0 commit comments