aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMotiejus Jakštys <motiejus@jakstys.lt>2023-03-17 18:50:25 +0200
committerGitHub <noreply@github.com>2023-03-17 17:50:25 +0100
commite0dd20b02ea026e125b36b3674f20aa20ff043e3 (patch)
treee1536da7724b4822695028de04d02f9c296fb21b /src
parentcfcd6698cd9385938df27a2052c2309229171e4f (diff)
downloadzig-e0dd20b02ea026e125b36b3674f20aa20ff043e3.tar.gz
zig-e0dd20b02ea026e125b36b3674f20aa20ff043e3.zip
add BoundedArrayAligned (#14580)
This is useful for creating byte buffers of actually-different-things. Copied the argument order from `Allocator.alignedAlloc` I noted that `ArrayListAligned` is going out of it's way to not set the alignment at comptime when it is not specified. However, I was not able to do that the same way here, and good people on IRC, @ifreund in particular (thanks!) assured me that [N]T align(@alignOf(T)) is equivalent to [N]T
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions