[Cs3] Lab 7 Question
Mikhail Nesterenko
mikhail at cs.kent.edu
Sat Oct 17 20:18:17 EDT 2015
Jordan Adamek wrote:
> Hello Dr. Nesterenko,
>
> While explaining lab 7 to students this week, we had a question regarding
> the *Erase *method:
>
> If the *next *element is a different bucket, are they required to handle
> this case, or return nullptr? My assumption is yes, they are, and I told
> them to assume that as well unless you stated otherwise.
>
Yes, your erase() should return a pointer to the element in the next
bucket.
Thanks,
--
Mikhail
More information about the cs3
mailing list