| ... | @@ -7081,7 +7081,8 @@ fn func(y: *i32) void { | ... | @@ -7081,7 +7081,8 @@ fn func(y: *i32) void { |
| 7081 | {#header_open|@bitSizeOf#} | 7081 | {#header_open|@bitSizeOf#} |
| 7082 | <pre>{#syntax#}@bitSizeOf(comptime T: type) comptime_int{#endsyntax#}</pre> | 7082 | <pre>{#syntax#}@bitSizeOf(comptime T: type) comptime_int{#endsyntax#}</pre> |
| 7083 | <p> | 7083 | <p> |
| 7084 | This function returns the number of bits it takes to store {#syntax#}T{#endsyntax#} in memory. | 7084 | This function returns the number of bits it takes to store {#syntax#}T{#endsyntax#} in memory if the type |
| | 7085 | were a field in a packed struct/union. |
| 7085 | The result is a target-specific compile time constant. | 7086 | The result is a target-specific compile time constant. |
| 7086 | </p> | 7087 | </p> |
| 7087 | <p> | 7088 | <p> |