Skip to content

wise_enum::to_string result not right #55

Description

@hwef

wise_enum::to_string result not right

  • code
    """
    #include "src/include/wise_enum/wise_enum.h"

WISE_ENUM(IODataTypessss,
tttt,
fff,
gt44
)

int main(int argc, char** argv)
{
std::cout << wise_enum::to_string(IODataTypessss::tttt) << std::endl;
return 0;
}
"""

  • cmd print
    WISE_ENUM_IMPL_IIF_0 (WISE_ENUM_IMPL_FIRST_ARG tttt, tttt)

env:

  • win10
  • vs2022 x64
  • c++14
  • not use cmake

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions