atilaneves / dpp

Directly include C headers in D source code
Boost Software License 1.0
231 stars 31 forks source link

Bug with "operator" prefix on method decl #110

Open trikko opened 5 years ago

trikko commented 5 years ago
class A
{
    bool operator_a() const;
};
trikko commented 5 years ago

This should be reopened :) Indeed isOperator() should check for valid c++ operator. For example operatora() is recognized as an operator by dpp but it is a method.

Laeeth commented 5 years ago

Also see related problems with templated operators opFoo() (T) (T t) Oops