cxxheaderparser icon indicating copy to clipboard operation
cxxheaderparser copied to clipboard

[PARSE BUG]: messed up enum thing

Open virtuald opened this issue 2 years ago • 0 comments
trafficstars

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

virtuald avatar Sep 24 '23 02:09 virtuald