PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs223] Failures of remD()
Date: Tuesday, 17 Mar 2020, 22:51:58


    > Message Posted By: Unknown
    >
    > Under what circumstances might remD() fail (i.e. return false)?

As stated in Hwk4/Deque.h:

  // Each returns the status of the operation, either true (= success) or false
  // (= failure; e.g., an invalid argument, an inconsistent Deque object, or a
  // NULL return from malloc() / realloc()).

--Stan-
PREV INDEX NEXT