Trying to parse a header with the attached definition in it fails with this exception:
CxxParseError: filtered.cpp:13282: parse error evaluating 'operator': unexpected 'operator', expected 'NAME'
template <class T> ON_SimpleArray<T>::operator T *() {
return (m_count > 0) ? m_a : 0;
}
Problem description
Trying to parse a header with the attached definition in it fails with this exception:
C++ code that can't be parsed correctly (please double-check that https://robotpy.github.io/cxxheaderparser/ has the same error)