Method ADT.CircularList()->push_back()
- Method
push_back
 
- voidpush_back(- ValueType- value,- bool|- void- force)
- Description
- Add a new value at the end of the list. 
- Parameter value
- The value to add. 
- Parameter force
- Add the value even if the list is full, in which case the element at the front of the list will be removed. 
- Throws
- An error if the list is full and - forceis false.
- Note
- forcewas not supported in Pike 8.0.1800 and earlier.
- See also