Skip to content

[PARSE BUG]: messed up enum thing #67

@virtuald

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 };

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