dfbc063f79
`std.mem.Allocator.createOne` is renamed to `std.mem.Allocator.create`. The problem with the previous API is that even after copy elision, the initalization value passed as a parameter would always be a copy. With the new API, once copy elision is done, initialization functions can directly initialize allocated memory in place. Related: * #1872 * #1873 |
||
---|---|---|
.. | ||
stage1 | ||
stage2 | ||
standalone | ||
assemble_and_link.zig | ||
build_examples.zig | ||
cli.zig | ||
compare_output.zig | ||
compile_errors.zig | ||
gen_h.zig | ||
runtime_safety.zig | ||
tests.zig | ||
translate_c.zig |