Skip to content

mp_map_find seems not working properly using g++ #72

Description

@HanatoK

The code is at https://godbolt.org/z/KvjecnTe3. The code can be compiled if switching to clang 13.0.1, but gcc 11.2 or the trunk version fails. Interestingly, if I comment out line 22 and 23 as

 // boost::mp11::mp_list<enum_<Foo::A1>, int>,
 // boost::mp11::mp_list<enum_<Foo::A2>, double>,

then gcc can successfully compile the code. Any ideas?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions