[Cs3] Lab today

Mikhail Nesterenko mikhail at cs.kent.edu
Wed Oct 18 15:07:23 EDT 2017


> 
> If for example, I erase the last element in the last bucket, but there is
> still an element in one of the previous buckets, do I need to loop back
> around and get that element?

No, in case this is the last element in the container is being
removed, even if preceeding elements are still present, erase() should
return nullptr

Thanks,
--
Mikhail


More information about the cs3 mailing list