Skip to content

[Proposal]: Unsigned sizeof #9633

@jnm2

Description

@jnm2

Unsigned sizeof

Summary

This proposal enables sizeof expressions without a constant value to implicitly convert to unsigned integer types the same size as uint or larger:

uint size = sizeof(SomeStruct);

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions