# std.Deque: add \`\*Ptr\` variants of getter functions · gitcafe/zig

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

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

Visibility: public

Requested revision: 35c5611f0707a46f6314a7b4e4597ff56bfead18

Requested commit: 35c5611f0707a46f6314a7b4e4597ff56bfead18

Commit: 35c5611f0707a46f6314a7b4e4597ff56bfead18

Tree: 3e1f72329060c1ab5df8f0517b773228a6f95352

Author: Justus Klausecker

Committer: Andrew Kelley

## Message

```
std.Deque: add `*Ptr` variants of getter functions

This makes it practical to store large items or items that are meant to
be mutable directly inside of the deque.
It is the responsibility of the user to stop using the returned pointers
after calling a function that could invalidate them.

```

## Parents

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

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