0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/doc
Andrew Kelley fb2acaff06
@sizeOf returns 0 for comptime types
This defines `@sizeOf` to be the runtime size of a type, which means
that it is zero for types such as comptime_int, type, and (enum
literal).

See #2209
History 2019-04-24 22:31:53 -04:00
..
codegen.md breaking syntax change: ??x to x.? (#1095) 2018-06-09 23:42:14 -04:00
docgen.zig docgen: add a space between the header and the section symbol 2019-04-05 23:12:25 -04:00
langref.html.in @sizeOf returns 0 for comptime types 2019-04-24 22:31:53 -04:00