# std.Deque: add \`peek\` and \`\*Ptr\` functions to \`Iterator\` · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/623723507f7f307ac888ce483b422bde7da9984b)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 623723507f7f307ac888ce483b422bde7da9984b

Requested commit: 623723507f7f307ac888ce483b422bde7da9984b

Commit: 623723507f7f307ac888ce483b422bde7da9984b

Tree: 5a0bd0ebdbb0e2979884e3db1eb67afc319d9fd8

Author: Justus Klausecker

Committer: Andrew Kelley

## Message

```
std.Deque: add `peek` and `*Ptr` functions to `Iterator`

The iterator should be as powerful as manual access via `as` and `asPtr`
to justify its existence.

```

## Parents

- [527e97b25201a1a252bcff6d79198513babda2db](https://git.cafe/gitcafe/zig/commit/527e97b25201a1a252bcff6d79198513babda2db?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/623723507f7f307ac888ce483b422bde7da9984b?format=markdown)
