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

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

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

Visibility: public

Requested revision: 9c028b2078649941366663c6b9a7ed7983c1621e

Requested commit: 9c028b2078649941366663c6b9a7ed7983c1621e

Commit: 9c028b2078649941366663c6b9a7ed7983c1621e

Tree: fc01de394d384dcd9c4f951bdfdb396a04ea47a6

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

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

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