Skip to content

Clangd21 check failed in magic_enum.hpp #437

@guankeliang2021-dot

Description

@guankeliang2021-dot

if use magic_enum::enum_name(V), code in magic_enum.hpp static_cast(V) will be check failed, clangd 21 said
integer value 16 is outside the valid range of values [0, 15] for the enumeration type 'DFSceneInfoState', while input value is enum num in DFSceneInfoState

so how to fix this problem

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions