Skip to content

unsafe: document that the result of Alignof, Offsetof, and Sizeof are constant #27587

@dsnet

Description

@dsnet

The Go specification documents that these "builtin" functions are constants. However, it is not clear from the documentation of the unsafe package that these are constants. Perhaps we should document them as such?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions