Skip to content

std::byte support #87

@someonewithpc

Description

@someonewithpc

I'm not sure if this is the appropriate venue for this discussion, or if it should go in the mailing list, so please advise @jaredhoberock

9.1.4 specifies that the vectorizable types must be arithmethic types. std::byte is not an arithmethic type, but allowing support for std::simd<std::byte> with only the same operators defined for std::byte, i.e. the binary
element-wise operations
would allow better encoding the semantic meaning of, for instance, bytes read from disk before being validated as valid ASCII or UTF-8, as opposed to using std::simd<char>

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