enlo;">println(count);</span></span></div>
<div><span style="font-size: 11px;"><span style="font-family: Menlo;"><br/></span></span></div>
<div>Regarding (2):</div>
<div><br/></div>
<div>While std::remove and std::remove_if and std::unique cannot actually modify the range that they are working on because they do not have access to the container and its, for example, erase() method, the variants of those algorithms for std::list can:</div>
<div><span style="font-size: 11px;"><span style="font-family: Menlo;"