Skip to content

Should unsafe_store!(ptr, x) implicitly convert x to the pointer eltype? #49826

@Tokazama

Description

@Tokazama

@Seelengrab pointed out here that unsafe_store!s implicit conversion of the value passed to it may be somewhat unintuitive given we typically require any "unsafe" method to provide the proper arguments as is. Furthermore, it seems to provide some trouble for Jet.jl.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions