Skip to content

[PARSE BUG]: messed up enum thing #67

Description

@virtuald

Problem description

Was playing in godbolt and got this to work, but I can't imagine why you'd ever want to do this.

C++ code that can't be parsed correctly (please double-check that https://robotpy.github.io/cxxheaderparser/ has the same error)

template <typename T>
class C;


template <typename T>
class C {
public:
    enum class E;
};

template <typename T>
enum class C<T>::E { A };

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