# std/ArrayList: Allow \`ArrayList\(u0\)\` to be created · gitcafe/zig

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

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

Visibility: public

Requested revision: 258845196702f458d00d7e974f05437100c8fc8f

Requested commit: 258845196702f458d00d7e974f05437100c8fc8f

Commit: 258845196702f458d00d7e974f05437100c8fc8f

Tree: 0310107261cea2ec688185c4f50e0e8504ae4331

Author: Zach Banks

Committer: Andrew Kelley

## Message

```
std/ArrayList: Allow `ArrayList(u0)` to be created

Enable creating ArrayList with zero-sized types.
This type still tracks length, but does not allocate
additional memory.

```

## Parents

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

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