Set the maximum length of the list. If 'new_max' > length(), the client is responsible for removing objects from the list.
| 188 | // Set the maximum length of the list. If 'new_max' > length(), the |
| 189 | // client is responsible for removing objects from the list. |
| 190 | void set_max_length(size_t new_max) { |
| 191 | max_length_ = new_max; |
| 192 | } |
| 193 | |
| 194 | // Return the number of times that length() has gone over max_length(). |
| 195 | size_t length_overages() const { |
no outgoing calls
no test coverage detected