Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New functions: isEmpty, front & length #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

chikamichi
Copy link

Extending the API with well-known functions:

  • isEmpty reports whether a queue is empty
  • front is a read-only accessor to inspect a queue's front value
  • length reports a queue's size

As this branch is based off the non-merged rework branch, it eventually should be rebased against master if #2 is merged. Only 9e1daff is relevant.

avh4 added a commit that referenced this pull request Aug 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant