| ... | @@ -7178,7 +7178,8 @@ fn func(y: *i32) void { | ... | @@ -7178,7 +7178,8 @@ fn func(y: *i32) void { |
| 7178 | {#header_open|@bitSizeOf#} | 7178 | {#header_open|@bitSizeOf#} |
| 7179 | <pre>{#syntax#}@bitSizeOf(comptime T: type) comptime_int{#endsyntax#}</pre> | 7179 | <pre>{#syntax#}@bitSizeOf(comptime T: type) comptime_int{#endsyntax#}</pre> |
| 7180 | <p> | 7180 | <p> |
| 7181 | This function returns the number of bits it takes to store {#syntax#}T{#endsyntax#} in memory. | 7181 | This function returns the number of bits it takes to store {#syntax#}T{#endsyntax#} in memory if the type |
| | 7182 | were a field in a packed struct/union. |
| 7182 | The result is a target-specific compile time constant. | 7183 | The result is a target-specific compile time constant. |
| 7183 | </p> | 7184 | </p> |
| 7184 | <p> | 7185 | <p> |